From 036e8dfc65309131d1073470fbf80c5bf0c1e1d4 Mon Sep 17 00:00:00 2001 From: czgu Date: Sun, 8 Oct 2023 15:17:52 -0700 Subject: [PATCH] hotfix for worker starting up --- querybook/server/app/flask_app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/querybook/server/app/flask_app.py b/querybook/server/app/flask_app.py index 3c0b75348..f64bdb7c8 100644 --- a/querybook/server/app/flask_app.py +++ b/querybook/server/app/flask_app.py @@ -66,6 +66,7 @@ def make_celery(app): worker_max_tasks_per_child=1, task_track_started=True, task_soft_time_limit=172800, + worker_proc_alive_timeout=60, broker_transport_options={ # This must be higher than soft time limit, # otherwise the task will get retried (in the case of acks_late=True)