chibenwa opened a new pull request, #2833:
URL: https://github.com/apache/james-project/pull/2833
- Protect against tasks that never finishes (slot is never released)
- Also harden cancelation
When cancelling a task that did not start being executed,
and is polled off the queue while we are cancelling it, then
it never gets decremented. Doing so we avoid a differential
and ensured exactly once decrement.
This version most importantly do not attempt to clean the physical
queue. It simply lets the consumer discard cancelled tasks upon execution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]