Skip to content

Commit

Permalink
fix(taskreject): avoid worker acks
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Feb 18, 2025
1 parent d03e0ea commit 532e977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API/api_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# celery.conf.accept_content = ["application/json", "application/x-python-serialize"]
celery.conf.task_track_started = True
celery.conf.update(result_extended=True)
# celery.conf.task_reject_on_worker_lost = True
celery.conf.task_reject_on_worker_lost = False
celery.conf.task_acks_late = False # to avoid task duplication

if WORKER_PREFETCH_MULTIPLIER:
Expand Down

0 comments on commit 532e977

Please sign in to comment.