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.
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.