mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Don't use uWSGI master mode by default. Fixes Ctrl+C on macOS and is
really only important in production configs where you should be using a config file anyway.
This commit is contained in:
committed by
John Chilton
parent
bce21ab3f3
commit
8f69d17e86
@@ -22,7 +22,7 @@ ALIASES = {
|
||||
'http': ('httprouter', 'socket', 'uwsgi-socket', 'suwsgi-socket', 'ssl-socket'),
|
||||
}
|
||||
DEFAULT_ARGS = {
|
||||
'_all_': ('virtualenv', 'pythonpath', 'master', 'threads', 'http', 'static-map', 'die-on-term', 'hook-master-start', 'enable-threads'),
|
||||
'_all_': ('virtualenv', 'pythonpath', 'threads', 'http', 'static-map', 'die-on-term', 'hook-master-start', 'enable-threads'),
|
||||
'galaxy': ('py-call-osafterfork',),
|
||||
'reports': (),
|
||||
'tool_shed': (),
|
||||
@@ -89,7 +89,6 @@ def _get_uwsgi_args(cliargs, kwargs):
|
||||
defaults = {
|
||||
'virtualenv': os.environ.get('VIRTUAL_ENV', './.venv'),
|
||||
'pythonpath': 'lib',
|
||||
'master': True,
|
||||
'threads': '4',
|
||||
'http': 'localhost:{port}'.format(port=DEFAULT_PORTS[cliargs.app]),
|
||||
'static-map': ('/static/style={here}/static/style/blue'.format(here=os.getcwd()),
|
||||
|
||||
Reference in New Issue
Block a user