Set worker timeout to 300 seconds

If this is too short gunicorn will restart the worker before they
finish booting.
This commit is contained in:
mvdbeek
2021-04-02 18:44:15 +02:00
parent 246f55a772
commit 7b5e09ec08
+1 -1
View File
@@ -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