Skip to content
Snippets Groups Projects
Commit 5269b240 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

if all main engines are disabled we will wait for all results

parent 40a4c53a
No related branches found
No related tags found
4 merge requests!1730Development,!1724Development,!1712Development,!1707Development
......@@ -944,6 +944,13 @@ class MetaGer
}
}
# If no main engines are enabled by the user we will wait for all results
if (sizeof($enginesToWaitFor) === 0) {
foreach ($engines as $engine) {
$enginesToWaitFor[] = $engine->hash;
}
}
$timeStart = microtime(true);
while (sizeof($enginesToWaitFor) > 0) {
if ((microtime(true) - $timeStart) >= 2) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment