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:
Brion Vibber 2010-09-20 13:19:58 -07:00
parent 10f6e14134
commit 2f38c9c99c

View File

@ -100,7 +100,7 @@ class DBQueueManager extends QueueManager
}
} else {
$this->_log(LOG_INFO, "[$queue] Got empty/deleted item, discarding");
$this->_fail($qi);
$this->_done($qi);
}
return true;
}