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

Weiteren Bug gefixt

parent acdf9494
No related branches found
No related tags found
2 merge requests!859Development,!856Weiteren Bug gefixt
......@@ -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(){
......
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