From c0c2662a490432c9f156fe87b7ff3d732fac89ac Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Tue, 18 Feb 2025 21:35:52 +0100 Subject: [PATCH] fix(workers): avoid requeue of task if not acks --- API/api_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/api_worker.py b/API/api_worker.py index 26c15993..517574f0 100644 --- a/API/api_worker.py +++ b/API/api_worker.py @@ -59,7 +59,7 @@ celery.conf.task_track_started = True celery.conf.update(result_extended=True) # celery.conf.task_reject_on_worker_lost = True -celery.conf.task_acks_late = False +celery.conf.task_acks_late = False # to avoid task duplication if WORKER_PREFETCH_MULTIPLIER: celery.conf.update(worker_prefetch_multiplier=WORKER_PREFETCH_MULTIPLIER)