Merge "Explicitly calling start for sahara-api in sahara-all"
This commit is contained in:
commit
c9c553fd4d
@ -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