mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Adding support for intervals of less than 1 second.
This commit is contained in:
parent
5ff6d8b871
commit
cff5d779b4
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class Resque_Worker
|
|||
else {
|
||||
$this->updateProcLine('Waiting for ' . implode(',', $this->queues));
|
||||
}
|
||||
sleep($interval);
|
||||
usleep($interval*1000000);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue