Commit 5269b240 authored by Dominik Hebeler's avatar Dominik Hebeler

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

parent 40a4c53a
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment