summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-30 02:44:31 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-30 02:44:31 -0400
commitac85a4b0fa3785ac4e23d693e1cc87ed7eaa87cb (patch)
tree87e51d42e797a9038ada6485577aa97267e3f0bf
parent755f192df05ff3468b483b20c7f35252c384165e (diff)
less sleeping, slightly
darcs-hash:20080830064431-84dde-42629109de11f65da9d876aee168abdf7c4ced3d.gz
-rw-r--r--lib/queuehandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/queuehandler.php b/lib/queuehandler.php
index 470b595ba..a1214986a 100644
--- a/lib/queuehandler.php
+++ b/lib/queuehandler.php
@@ -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);