Swap to gunicorn w/ uvicorn worker

This commit is contained in:
Dannon Baker
2021-03-29 09:29:24 -04:00
parent 18cbfac7c9
commit 8702980d40
+2 -1
View File
@@ -5,7 +5,8 @@ debug = True
GALAXY_CONFIG_FILE=config/galaxy.yml
[watcher:web]
cmd = uvicorn --factory 'galaxy.webapps.galaxy.fast_factory:factory' --reload --reload-dir lib --app-dir lib --fd $(circus.sockets.web)
cmd = gunicorn 'galaxy.webapps.galaxy.fast_factory:factory()' --pythonpath lib -k uvicorn.workers.UvicornWorker -b fd://$(circus.sockets.web)
send_hup = true
numprocesses = 1
use_sockets = True
stop_signal = TERM