From: Brion Vibber Date: Thu, 14 Jan 2010 00:33:03 +0000 (-0800) Subject: Fix for dbqueuehandler: if a queue is unrecognized, discard entries rather than attem... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=82e57b620453033cde487d95e4def27089425155;p=quix0rs-gnu-social.git Fix for dbqueuehandler: if a queue is unrecognized, discard entries rather than attempting to re-run them forever! --- diff --git a/lib/dbqueuemanager.php b/lib/dbqueuemanager.php index a5c6fd28b4..889365b649 100644 --- a/lib/dbqueuemanager.php +++ b/lib/dbqueuemanager.php @@ -99,8 +99,8 @@ class DBQueueManager extends QueueManager $this->_fail($notice, $queue); } } else { - $this->_log(LOG_INFO, "[$queue:notice $notice->id] No handler for queue $queue"); - $this->_fail($notice, $queue); + $this->_log(LOG_INFO, "[$queue:notice $notice->id] No handler for queue $queue; discarding."); + $this->_done($notice, $queue); } return true; }