mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-21 16:01:53 +00:00
Adding support for intervals of less than 1 second.
This commit is contained in:
parent
5ff6d8b871
commit
cff5d779b4
@ -175,7 +175,7 @@ class Resque_Worker
|
||||
else {
|
||||
$this->updateProcLine('Waiting for ' . implode(',', $this->queues));
|
||||
}
|
||||
sleep($interval);
|
||||
usleep($interval*1000000);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user