summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-13 16:33:03 -0800
committerBrion Vibber <brion@pobox.com>2010-01-13 16:33:03 -0800
commit82e57b620453033cde487d95e4def27089425155 (patch)
tree621ed14b06185a42f11d46c07ec190e87752865d
parent935d5eed69250c2ff1654f2d0f3c1a707fd5d5aa (diff)
Fix for dbqueuehandler: if a queue is unrecognized, discard entries rather than attempting to re-run them forever!
-rw-r--r--lib/dbqueuemanager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dbqueuemanager.php b/lib/dbqueuemanager.php
index a5c6fd28b..889365b64 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;
}