From ac85a4b0fa3785ac4e23d693e1cc87ed7eaa87cb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 30 Aug 2008 02:44:31 -0400 Subject: [PATCH] less sleeping, slightly darcs-hash:20080830064431-84dde-42629109de11f65da9d876aee168abdf7c4ced3d.gz --- lib/queuehandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/queuehandler.php b/lib/queuehandler.php index 470b595ba7..a1214986a8 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);