Commit 7cdd9cea authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Weiteren Bug gefixt

parent acdf9494
......@@ -119,8 +119,10 @@ class Searcher implements ShouldQueue
}
}
private function updateStats($poptime){
$connectionInfo = base64_encode(json_encode($this->connectionInfo));
Redis::hset($this->name . ".stats", $this->pid, $connectionInfo . ";" . $poptime);
if($this->connectionInfo !== NULL){
$connectionInfo = base64_encode(json_encode($this->connectionInfo));
Redis::hset($this->name . ".stats", $this->pid, $connectionInfo . ";" . $poptime);
}
}
private function getFetchTime(){
......
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