From c8f2f7c0447db649290deb535cd2ba70221f2c53 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 25 Nov 2024 07:49:04 -0800 Subject: [PATCH] Change max tasks per celery worker to 500 --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 95db014e9..53ea039a0 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": 200, + "worker_max_tasks_per_child": 500, "broker_url": REDIS_URL, "broker_transport_options": { "visibility_timeout": 310,