diff --git a/app/Jobs/Searcher.php b/app/Jobs/Searcher.php index 7496b42db11e4292654fdb399e89896faf514be8..194a075362f13d5c12cb297e144855be9bd2e6e2 100644 --- a/app/Jobs/Searcher.php +++ b/app/Jobs/Searcher.php @@ -97,7 +97,7 @@ class Searcher implements ShouldQueue } } // When we reach this point, time has come for this Searcher to retire - $this->exit(); + $this->shutdown(); } private function retrieveUrl($url){ @@ -116,7 +116,7 @@ class Searcher implements ShouldQueue $this->lastTime = microtime(true); } - private function exit(){ + private function shutdown(){ Redis::hdel($this->name . ".stats", $this->pid); if(sizeof(Redis::hgetall($this->name . ".stats")) === 0){ Redis::del($this->name);