Fix bug in db queue manager: when receiving an invalid or deleted notice, we were running it through the 'temporary fail, release it to try again' path instead of the 'done, discard item' path. Should fix some infinite-loop-of-doom-in-queue cases.
This commit is contained in:
parent
10f6e14134
commit
2f38c9c99c
|
@ -100,7 +100,7 @@ class DBQueueManager extends QueueManager
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->_log(LOG_INFO, "[$queue] Got empty/deleted item, discarding");
|
$this->_log(LOG_INFO, "[$queue] Got empty/deleted item, discarding");
|
||||||
$this->_fail($qi);
|
$this->_done($qi);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user