diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php index 2f4a1e0..edfe9fc 100644 --- a/lib/Resque/Worker.php +++ b/lib/Resque/Worker.php @@ -175,7 +175,7 @@ class Resque_Worker else { $this->updateProcLine('Waiting for ' . implode(',', $this->queues)); } - sleep($interval); + usleep($interval*1000000); continue; }