Commit b6a2935a authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '485-ux-bei-such-timeout' into 'development'

Resolve "UX bei Such-Timeout"

Closes #485

See merge request !848
parents 87362f0d b6daaa92
...@@ -60,7 +60,7 @@ class Searcher implements ShouldQueue ...@@ -60,7 +60,7 @@ class Searcher implements ShouldQueue
// The mission can be empty when blpop hit the timeout // The mission can be empty when blpop hit the timeout
if(empty($mission)){ if(empty($mission)){
break; continue;
}else{ }else{
$mission = $mission[1]; $mission = $mission[1];
$this->counter++;# $this->counter++;#
......
...@@ -163,7 +163,7 @@ abstract class Searchengine ...@@ -163,7 +163,7 @@ abstract class Searchengine
$median += floatval($data[1]); $median += floatval($data[1]);
} }
$median /= sizeof($searcherData); $median /= sizeof($searcherData);
if($median < 100){ if($median < .1){
$needSearcher = true; $needSearcher = true;
} }
} }
......
Supports Markdown
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