Adding support for intervals of less than 1 second.

This commit is contained in:
KevBurnsJr 2010-11-07 14:59:32 -08:00
parent 5ff6d8b871
commit cff5d779b4

View File

@ -175,7 +175,7 @@ class Resque_Worker
else {
$this->updateProcLine('Waiting for ' . implode(',', $this->queues));
}
sleep($interval);
usleep($interval*1000000);
continue;
}