Fix for dbqueuehandler: if a queue is unrecognized, discard entries rather than attempting to re-run them forever!
This commit is contained in:
parent
935d5eed69
commit
82e57b6204
|
@ -99,8 +99,8 @@ class DBQueueManager extends QueueManager
|
||||||
$this->_fail($notice, $queue);
|
$this->_fail($notice, $queue);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->_log(LOG_INFO, "[$queue:notice $notice->id] No handler for queue $queue");
|
$this->_log(LOG_INFO, "[$queue:notice $notice->id] No handler for queue $queue; discarding.");
|
||||||
$this->_fail($notice, $queue);
|
$this->_done($notice, $queue);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user