mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +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 {
|
else {
|
||||||
$this->updateProcLine('Waiting for ' . implode(',', $this->queues));
|
$this->updateProcLine('Waiting for ' . implode(',', $this->queues));
|
||||||
}
|
}
|
||||||
sleep($interval);
|
usleep($interval*1000000);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue