Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
48aa711b
Commit
48aa711b
authored
Jul 08, 2013
by
Paul Selkirk
Browse files
[master] fix zonemgr initialization order problem from #2967
parent
18f8355a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/zonemgr/zonemgr.py.in
View file @
48aa711b
...
...
@@ -115,8 +115,6 @@ class ZonemgrRefresh:
self._max_transfer_timeout = None
self._refresh_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.
self._datasrc_clients_mgr = DataSrcClientsMgr()
# data_sources configuration should be ready with cfgmgr, so this
...
...
@@ -124,6 +122,8 @@ class ZonemgrRefresh:
# to terminate the program.
self._module_cc.add_remote_config_by_name('data_sources',
self._datasrc_config_handler)
self.update_config_data(module_cc.get_full_config(), module_cc)
self._running = False
def _random_jitter(self, max, jitter):
"""Imposes some random jitters for refresh and
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment