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

Revoke Celery Tasks on Account Deletion #20

Open
mfosterw opened this issue May 19, 2023 · 0 comments
Open

Revoke Celery Tasks on Account Deletion #20

mfosterw opened this issue May 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mfosterw
Copy link
Owner

mfosterw commented May 19, 2023

Right now when an account is deleted the asynchronous tasks in the Celery queue created by that account remain in place until their timer runs out, at which point the task fails. It would be more efficient and probably more secure if there was a delete hook on the user model that signals Celery to revoke the task and remove it from the queue.

@mfosterw mfosterw added the enhancement New feature or request label May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant