Merge "Use AFTER_INIT in lieu of AFTER_CREATE"

This commit is contained in:
Jenkins 2016-07-03 04:53:51 +00:00 committed by Gerrit Code Review
commit 69219cd132
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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(