Merge "Explicitly calling start for sahara-api in sahara-all"

This commit is contained in:
Jenkins 2015-12-11 00:29:17 +00:00 committed by Gerrit Code Review
commit c9c553fd4d
2 changed files with 3 additions and 2 deletions

View File

@ -58,5 +58,5 @@ def main():
server.setup_auth_policy()
launcher = server.get_process_launcher()
launcher.launch_service(server.SaharaWSGIService("sahara-all", app))
launcher.wait()
server.launch_api_service(
launcher, server.SaharaWSGIService("sahara-all", app))

View File

@ -157,4 +157,5 @@ def get_process_launcher():
def launch_api_service(launcher, service):
launcher.launch_service(service, workers=CONF.api_workers)
service.start()
launcher.wait()