forked from GNUsocial/gnu-social
Fix for dbqueuehandler: if a queue is unrecognized, discard entries rather than attempting to re-run them forever!
This commit is contained in:
parent
935d5eed69
commit
82e57b6204
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user