mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Run jobs in web workers if no job-handlers farm is configured and using
a default job conf (no job_conf.xml)
This commit is contained in:
@@ -102,7 +102,9 @@ class ConfiguresHandlers:
|
||||
|
||||
:return: bool
|
||||
"""
|
||||
if self.app.application_stack.in_pool(self.app.application_stack.pools.JOB_HANDLERS):
|
||||
if (self.app.application_stack.in_pool(self.app.application_stack.pools.JOB_HANDLERS) or
|
||||
(not self.app.application_stack.has_pool(self.app.application_stack.pools.JOB_HANDLERS) and
|
||||
self.app.job_config.is_default)):
|
||||
# Handlers started as uWSGI mules do not require configuration in the job conf
|
||||
return True
|
||||
for collection in self.handlers.values():
|
||||
|
||||
Reference in New Issue
Block a user