diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php index 1ee24a9..13a281f 100644 --- a/lib/Resque/Worker.php +++ b/lib/Resque/Worker.php @@ -424,7 +424,7 @@ class Resque_Worker { $workerPids = $this->workerPids(); if(empty($workerPids)) { - continue; + return; } $workers = self::all(); foreach($workers as $worker) {