forked from GNUsocial/gnu-social
Let the queue handlers drain their xmpp queues
This commit is contained in:
parent
031146f4c7
commit
fc3442a041
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue