From 7b5e09ec08b76d1fda3e83ee9d9df1e41f5a5dd3 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 1 Apr 2021 19:04:16 +0200 Subject: [PATCH] Set worker timeout to 300 seconds If this is too short gunicorn will restart the worker before they finish booting. --- config/dev.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dev.ini b/config/dev.ini index 1bf93b5a6ba..f9d51d2748d 100644 --- a/config/dev.ini +++ b/config/dev.ini @@ -6,7 +6,7 @@ GALAXY_CONFIG_FILE=config/galaxy.yml PYTHONPATH=lib [watcher:web] -cmd = gunicorn 'galaxy.webapps.galaxy.fast_factory:factory()' --pythonpath lib -k uvicorn.workers.UvicornWorker -b fd://$(circus.sockets.web) +cmd = gunicorn 'galaxy.webapps.galaxy.fast_factory:factory()' --timeout 300 --pythonpath lib -k uvicorn.workers.UvicornWorker -b fd://$(circus.sockets.web) send_hup = true numprocesses = 1 use_sockets = True