summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-09 13:26:09 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-09 13:26:09 -0400
commitfc3442a041a43f2df29deedc0ad96fbd6ba92385 (patch)
treeab9ad4439ef4a0ff279d3099c7b77abf49e76e31 /lib
parent031146f4c757ca00fb9f528abf69ef4b229bdc18 (diff)
Let the queue handlers drain their xmpp queues
Diffstat (limited to 'lib')
-rw-r--r--lib/stompqueuemanager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php
index d13af3fa5..359f6d9d8 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;
}
}