From 0ecd835c9163819618c7d529085d6c4933616414 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 15 Nov 2024 09:52:07 -0800 Subject: [PATCH] adjust worker lifetime --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index dcc8c551a..95db014e9 100644 --- a/app/config.py +++ b/app/config.py @@ -166,7 +166,7 @@ class Config(object): current_minute = (datetime.now().minute + 1) % 60 CELERY = { - "worker_max_tasks_per_child": 20, + "worker_max_tasks_per_child": 200, "broker_url": REDIS_URL, "broker_transport_options": { "visibility_timeout": 310,