Merge "Use AFTER_INIT in lieu of AFTER_CREATE"
This commit is contained in:
commit
69219cd132
@ -258,7 +258,7 @@ class ClusteredAPI(object):
|
||||
# reinitialize upon fork for api workers to ensure each
|
||||
# process has its own keepalive loops + state
|
||||
registry.subscribe(
|
||||
_init_cluster, resources.PROCESS, events.AFTER_CREATE)
|
||||
_init_cluster, resources.PROCESS, events.AFTER_INIT)
|
||||
|
||||
def _init_endpoints(self, providers,
|
||||
min_conns_per_pool, max_conns_per_pool):
|
||||
|
@ -172,7 +172,7 @@ class NsxVPluginV2(addr_pair_db.AllowedAddressPairsMixin,
|
||||
self.init_is_complete = False
|
||||
registry.subscribe(self.init_complete,
|
||||
resources.PROCESS,
|
||||
events.AFTER_CREATE)
|
||||
events.AFTER_INIT)
|
||||
self.metadata_proxy_handler = None
|
||||
config.validate_nsxv_config_options()
|
||||
neutron_extensions.append_api_extensions_path(
|
||||
|
Loading…
Reference in New Issue
Block a user