if (in_array($stompsock, $read)) {
$this->_handleNotice($queue, $handler);
}
- foreach ($handsocks as $sock) {
- if (in_array($sock, $read)) {
- // let it really handle this stuff
- $handler->idle(QUEUE_HANDLER_MISS_IDLE);
- break;
- }
- }
+ $handler->idle(QUEUE_HANDLER_HIT_IDLE);
}
}