Commit 48aa711b authored by Paul Selkirk's avatar Paul Selkirk
Browse files

[master] fix zonemgr initialization order problem from #2967

parent 18f8355a
...@@ -115,8 +115,6 @@ class ZonemgrRefresh: ...@@ -115,8 +115,6 @@ class ZonemgrRefresh:
self._max_transfer_timeout = None self._max_transfer_timeout = None
self._refresh_jitter = None self._refresh_jitter = None
self._reload_jitter = None self._reload_jitter = None
self.update_config_data(module_cc.get_full_config(), module_cc)
self._running = False
# This is essentially private, but we allow tests to customize it. # This is essentially private, but we allow tests to customize it.
self._datasrc_clients_mgr = DataSrcClientsMgr() self._datasrc_clients_mgr = DataSrcClientsMgr()
# data_sources configuration should be ready with cfgmgr, so this # data_sources configuration should be ready with cfgmgr, so this
...@@ -124,6 +122,8 @@ class ZonemgrRefresh: ...@@ -124,6 +122,8 @@ class ZonemgrRefresh:
# to terminate the program. # to terminate the program.
self._module_cc.add_remote_config_by_name('data_sources', self._module_cc.add_remote_config_by_name('data_sources',
self._datasrc_config_handler) self._datasrc_config_handler)
self.update_config_data(module_cc.get_full_config(), module_cc)
self._running = False
def _random_jitter(self, max, jitter): def _random_jitter(self, max, jitter):
"""Imposes some random jitters for refresh and """Imposes some random jitters for refresh and
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment