flower icon indicating copy to clipboard operation
flower copied to clipboard

Revoking a task doesn't update the status until worker discards it

Open geometrikal opened this issue 1 year ago • 0 comments

I have a worker with concurrency of 1 that performs some long running tasks

If I queue two tasks, one will start ("state": "STARTED") while the other will be queued ("state": "RECEIVED")

If I revoke / abort the queued task, its state will not change to "REVOKED" until the first task has completed and the worker discards the revoked task.

As a result, I cannot use flower to see which tasks have been revoked. Is there are workaround?

geometrikal avatar Aug 25 '23 07:08 geometrikal