less sleeping, slightly
darcs-hash:20080830064431-84dde-42629109de11f65da9d876aee168abdf7c4ced3d.gz
This commit is contained in:
parent
755f192df0
commit
ac85a4b0fa
@ -87,8 +87,8 @@ class QueueHandler {
|
||||
$start = microtime();
|
||||
$this->idle();
|
||||
$used = microtime() - $start;
|
||||
if ($used < 5000000) {
|
||||
usleep(5000000 - $used);
|
||||
if ($used < 3000000) {
|
||||
usleep(3000000 - $used);
|
||||
}
|
||||
}
|
||||
} while (true);
|
||||
|
Loading…
Reference in New Issue
Block a user