Skip to content

Commit 8ea4038

Browse files
authored
Rerun unsuccessful celery tasks indefinitely
Change celery tasks config to rerun tasks indefinitely should they fail for an expected reason, like a lock error or because of the tasks return value (conditional gate).
1 parent f1dff29 commit 8ea4038

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

joeflow/runner/celery.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
@shared_task(
1717
bind=True,
1818
ignore_results=True,
19+
max_retries=None,
1920
autoretry_for=(OperationalError,),
2021
retry_backoff=True,
2122
)

0 commit comments

Comments
 (0)