From: Evan Prodromou Date: Thu, 9 Jul 2009 19:25:59 +0000 (-0400) Subject: one more shot at servicing queues X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0828fde51ccb1a5629ab33dd23834070b95c0f37;hp=-c;p=quix0rs-gnu-social.git one more shot at servicing queues --- 0828fde51ccb1a5629ab33dd23834070b95c0f37 diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php index d13af3fa52..46baeb5c73 100644 --- a/lib/stompqueuemanager.php +++ b/lib/stompqueuemanager.php @@ -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); } }