From 82e57b620453033cde487d95e4def27089425155 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 13 Jan 2010 16:33:03 -0800 Subject: [PATCH] Fix for dbqueuehandler: if a queue is unrecognized, discard entries rather than attempting to re-run them forever! --- lib/dbqueuemanager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5