mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Swap to gunicorn w/ uvicorn worker
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user