Skip to content

Commit 241c80a

Browse files
committed
retry jobs by default 3 times
1 parent 8f01b67 commit 241c80a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/systems/job_system/job_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def start_job(
160160
"finished": None,
161161
},
162162
result_ttl=job_info["result_ttl"].value,
163+
retry=rq.Retry(max=3, interval=30),
163164
)
164165
return Job(rq_job)
165166

0 commit comments

Comments
 (0)