Commit e7e02306 authored by Jerry's avatar Jerry
Browse files

update the comments


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac335@3204 e5f2f494-b856-4b98-b285-d166d9295462
parent deacb6ab
......@@ -333,12 +333,12 @@ class ZonemgrRefresh:
def _run_timer(self):
while self._running:
# Zonemgr has no zone.
# If zonemgr has no zone, set timer timeout to LOWERBOUND_RETRY.
if self._zone_mgr_is_empty():
timeout = LOWERBOUND_RETRY
else:
zone_need_refresh = self._find_need_do_refresh_zone()
# If don't get zone with minimum next refresh time, set timer timeout = LOWERBOUND_REFRESH
# If don't get zone with minimum next refresh time, set timer timeout to LOWERBOUND_RETRY
if not zone_need_refresh:
timeout = LOWERBOUND_RETRY
else:
......
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