From 0828fde51ccb1a5629ab33dd23834070b95c0f37 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 9 Jul 2009 15:25:59 -0400 Subject: [PATCH] one more shot at servicing queues --- lib/stompqueuemanager.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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); } } -- 2.39.5