From fc3442a041a43f2df29deedc0ad96fbd6ba92385 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 9 Jul 2009 13:26:09 -0400 Subject: [PATCH] Let the queue handlers drain their xmpp queues --- lib/stompqueuemanager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php index d13af3fa52..359f6d9d86 100644 --- a/lib/stompqueuemanager.php +++ b/lib/stompqueuemanager.php @@ -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; } } -- 2.39.5