Switch to start_all_workers in RPC server
This does the same as the logic present but it emits the registry callback event for resources.PROCESS AFTER_SPAWN that some plugins may be expecting. Change-Id: I6f9aeca753a5d3c0052f553a2ac46786ca113e1e Related-Bug: #1687896
This commit is contained in:
parent
0ef8e2c168
commit
57a37c4a87
@ -32,8 +32,7 @@ def eventlet_rpc_server():
|
||||
|
||||
try:
|
||||
manager.init()
|
||||
workers = service._get_rpc_workers() + service._get_plugins_workers()
|
||||
rpc_workers_launcher = service._start_workers(workers)
|
||||
rpc_workers_launcher = service.start_all_workers()
|
||||
except NotImplementedError:
|
||||
LOG.info(_LI("RPC was already started in parent process by "
|
||||
"plugin."))
|
||||
|
Loading…
Reference in New Issue
Block a user