-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix DELETE /task/(task_id) #42
Comments
Related to
|
Under some conditions the deletion of the task should be safe. The uncertainty is greatly reduced by introducing some (mostly temporary) states in which we know it is unsafe to delete a task. When worker is not responding etc. Also extracted queue_to_hostname to make it DRY.
Although this work looks nice, I'm closing this issue for now. We can re-open this issue later (probably when upgrading celery). |
The
que.utils.delete_task()
is broken (celery inspection of a task candidate for deletion). We should fix this and make theDELETE /task/(task_id)
available for every PENDING task in the system.The testing should also include use cases involving task cleanup (revoked tasks).
Target branch: v2.4
The text was updated successfully, but these errors were encountered: