]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Let the queue handlers drain their xmpp queues
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 9 Jul 2009 17:26:09 +0000 (13:26 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 9 Jul 2009 17:26:09 +0000 (13:26 -0400)
lib/stompqueuemanager.php

index d13af3fa5266702e1446cca926b3c93a27dd3b26..359f6d9d86b78bf63ae684a5a5b46dc50af4e1bb 100644 (file)
@@ -124,7 +124,8 @@ class StompQueueManager
                 }
                 foreach ($handsocks as $sock) {
                     if (in_array($sock, $read)) {
-                        $handler->idle(QUEUE_HANDLER_HIT_IDLE);
+                        // let it really handle this stuff
+                        $handler->idle(QUEUE_HANDLER_MISS_IDLE);
                         break;
                     }
                 }