]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
one more shot at servicing queues
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 9 Jul 2009 19:25:59 +0000 (15:25 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 9 Jul 2009 19:25:59 +0000 (15:25 -0400)
lib/stompqueuemanager.php

index d13af3fa5266702e1446cca926b3c93a27dd3b26..46baeb5c73ef32ae4177d578207bffc305830821 100644 (file)
@@ -122,12 +122,7 @@ class StompQueueManager
                 if (in_array($stompsock, $read)) {
                     $this->_handleNotice($queue, $handler);
                 }
-                foreach ($handsocks as $sock) {
-                    if (in_array($sock, $read)) {
-                        $handler->idle(QUEUE_HANDLER_HIT_IDLE);
-                        break;
-                    }
-                }
+                $handler->idle(QUEUE_HANDLER_HIT_IDLE);
             }
         }