Explicitly calling start for sahara-api in sahara-all
Now calling launch_api_service and service.start() for sahara-api when launching sahara-all to get the api server to start, even in debug mode. Change-Id: I8668a70b99e3f1fba98ec9df783b7962b9632037 Closes-Bug: #1521266
This commit is contained in:
parent
c1ff2a7319
commit
673952f024
@ -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))
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user