diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php index 13a281f..6779470 100644 --- a/lib/Resque/Worker.php +++ b/lib/Resque/Worker.php @@ -423,9 +423,6 @@ class Resque_Worker public function pruneDeadWorkers() { $workerPids = $this->workerPids(); - if(empty($workerPids)) { - return; - } $workers = self::all(); foreach($workers as $worker) { list($host, $pid, $queues) = explode(':', (string)$worker, 3);