WIP: drop stack configurability, this will come later. Cleanup for WIP

PR
This commit is contained in:
Nate Coraor
2017-08-21 21:50:46 -04:00
parent 27a0b1ba40
commit d7dd9b2b65
10 changed files with 193 additions and 443 deletions
-4
View File
@@ -12,7 +12,6 @@ from galaxy.config import (
parse_dependency_options,
)
from galaxy.script import main_factory
from galaxy.util.configdict import parse_config
DESCRIPTION = "Script to determine uWSGI command line arguments."
@@ -20,9 +19,6 @@ COMMAND_TEMPLATE = '{virtualenv}--ini-paste {galaxy_ini} --paste-logger --die-on
def _get_uwsgi_args(args, kwargs):
# FIXME: hardcoded
stack_conf = parse_config('config/stack_conf.yml', 'stack', {})
# FIXME: these belong in stack conf
handlerct = int(kwargs.get('job_handler_count', 1))
pool_name = kwargs.get('job_handler_pool_name', 'job-handlers')
virtualenv = os.environ.get('VIRTUAL_ENV', None)