Fix for dbqueuehandler: if a queue is unrecognized, discard entries rather than attempting to re-run them forever!

This commit is contained in:
Brion Vibber 2010-01-13 16:33:03 -08:00
parent 935d5eed69
commit 82e57b6204

View 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;
}