Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revoking async task feedback #8883

Open
hexkey opened this issue Mar 1, 2024 · 0 comments
Open

revoking async task feedback #8883

hexkey opened this issue Mar 1, 2024 · 0 comments

Comments

@hexkey
Copy link

hexkey commented Mar 1, 2024

Hello,

Quick question, is it by design that revoking an asynchronous task in Celery does not generate any feedback or acknowledgment? For example:

task_id = "some_task_uuid"

celery_app.control.revoke(task_id, terminate=True)

Returns nothing, even if the task_id does not exists (I am expecting at least to complain wrong task ID), or if task was previously already revoked (already revoked or similar). Same thing with:

task_result = celery_app.AsyncResult(task_id)
task_result.forget()

I am missing something ?

Thank you in advance for feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant