Skip to content

Commit 64332e4

Browse files
authored
Remove Celery task_acks_late (#1469)
This is to disable implicit retries by Celery because it causes duplicate tasks that the task manager does not deal with appropriately when a task has timed out because the task stub has already been removed, which means that new Jobs do not get created based on the output evidence from the retried task.
1 parent fa77f37 commit 64332e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

turbinia/tcelery.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def setup(self):
5656
broker_connection_retry_on_startup=True,
5757
task_default_queue=config.INSTANCE_ID,
5858
accept_content=['json'],
59-
task_acks_late=True,
6059
worker_cancel_long_running_tasks_on_connection_loss=True,
6160
worker_concurrency=1,
6261
worker_prefetch_multiplier=1,

0 commit comments

Comments
 (0)