How do you retry a failed Celery task?
Simple meaning
Bind the task with bind=True and call self.retry(exc=exc, countdown=seconds) inside the catch block, or set autoretry_for and retry_backoff.
Open the full page for Why, Steps, Example and Key takeaway.