Let the queue handlers drain their xmpp queues

This commit is contained in:
Evan Prodromou 2009-07-09 13:26:09 -04:00
parent 031146f4c7
commit fc3442a041
1 changed files with 2 additions and 1 deletions

View File

@ -124,7 +124,8 @@ class StompQueueManager
} }
foreach ($handsocks as $sock) { foreach ($handsocks as $sock) {
if (in_array($sock, $read)) { if (in_array($sock, $read)) {
$handler->idle(QUEUE_HANDLER_HIT_IDLE); // let it really handle this stuff
$handler->idle(QUEUE_HANDLER_MISS_IDLE);
break; break;
} }
} }