public function poll() { $this->handled_items++; if (!parent::poll()) { throw new RunQueueOutOfWorkException(); } return true; }
protected function _fail(Queue_item $qi, $releaseOnly = false) { parent::_fail($qi, $releaseOnly); $this->_log(LOG_DEBUG, "[{$qi->transport}:item {$qi->id}] Ignoring this transport for the rest of this execution"); $this->ignoreTransport($qi->transport); }