]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
less sleeping, slightly
authorEvan Prodromou <evan@prodromou.name>
Sat, 30 Aug 2008 06:44:31 +0000 (02:44 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 30 Aug 2008 06:44:31 +0000 (02:44 -0400)
darcs-hash:20080830064431-84dde-42629109de11f65da9d876aee168abdf7c4ced3d.gz

lib/queuehandler.php

index 470b595ba76ea1f4cee1a0dbba471f8729fe5872..a1214986a8fa9a5ea3672511a1ce15cf12ddb767 100644 (file)
@@ -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);