I do retries with celery like in the Docs-Example:
@task() def add(x, y): try: ... except Exception, exc: add.retry(exc=exc, countdow
Since version 4.2 you can use options autoretry_for and retry_backoff for this purposes, for example:
autoretry_for
@task(max_retries=10, autoretry_for=(Exception,), retry_backoff=60) def add(x, y): pass