summaryrefslogtreecommitdiff
path: root/lib/queuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/queuehandler.php')
-rw-r--r--lib/queuehandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/queuehandler.php b/lib/queuehandler.php
index a1214986a..ba7a93ab2 100644
--- a/lib/queuehandler.php
+++ b/lib/queuehandler.php
@@ -87,8 +87,8 @@ class QueueHandler {
$start = microtime();
$this->idle();
$used = microtime() - $start;
- if ($used < 3000000) {
- usleep(3000000 - $used);
+ if ($used < 1000000) {
+ usleep(1000000 - $used);
}
}
} while (true);