Skip to content

Commit 1190c4e

Browse files
testing new configurations for celery
1 parent 1693950 commit 1190c4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/scanerr/celery.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@
2020

2121
# celery and beat configs
2222
app.conf.update(
23-
task_acks_late=False,
23+
task_acks_late=True,
2424
worker_prefetch_multiplier=1,
2525
worker_hijack_root_logger=False,
2626
task_always_eager=False,
2727
worker_cancel_long_running_tasks_on_connection_loss=True,
28+
worker_max_tasks_per_child=100
2829
)
2930

3031
# setting tasks to auto-discover

0 commit comments

Comments
 (0)