[31188f42] einfügen
einfügen
This commit is contained in:
@@ -391,7 +391,9 @@ def run_worker():
|
||||
try:
|
||||
result = process_job(job, so_client)
|
||||
if result == "RETRY":
|
||||
queue.retry_job_later(job['id'], delay_seconds=120)
|
||||
queue.retry_job_later(job['id'], delay_seconds=120, error_msg="CE is processing...")
|
||||
elif result == "FAILED":
|
||||
queue.fail_job(job['id'], "Job failed with FAILED status")
|
||||
else:
|
||||
queue.complete_job(job['id'])
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user