]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for dbqueuehandler: if a queue is unrecognized, discard entries rather than attem...
authorBrion Vibber <brion@pobox.com>
Thu, 14 Jan 2010 00:33:03 +0000 (16:33 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 14 Jan 2010 00:33:03 +0000 (16:33 -0800)
lib/dbqueuemanager.php

index a5c6fd28b4f35fbb043b48f70124e3bc5a0dec46..889365b6495e0d454183fa3347839ffd40395c88 100644 (file)
@@ -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;
     }