Commit 7bf8e984 authored by Likun Zhang's avatar Likun Zhang
Browse files

Apply new config setting immediately.

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1634 e5f2f494-b856-4b98-b285-d166d9295462
parent 4a1dd30f
......@@ -320,6 +320,7 @@ def listen_on_xfr_query(unix_socket_server):
class XfroutServer:
def __init__(self):
self._init_config_data()
self._unix_socket_server = None
self._cc = isc.config.ModuleCCSession(SPECFILE_LOCATION, self.config_handler, self.command_handler)
self._cc.start()
self._lock = threading.Lock()
......@@ -355,6 +356,9 @@ class XfroutServer:
continue
self._config_data[key] = new_config[key]
if self._unix_socket_server:
self._unix_socket_server.update_config_data(new_config)
return answer
......
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