[svn] commit: r3204 - /branches/trac335/src/bin/zonemgr/zonemgr.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 14 08:00:26 UTC 2010


Author: chenzhengzhang
Date: Thu Oct 14 08:00:26 2010
New Revision: 3204

Log:
update the comments

Modified:
    branches/trac335/src/bin/zonemgr/zonemgr.py.in

Modified: branches/trac335/src/bin/zonemgr/zonemgr.py.in
==============================================================================
--- branches/trac335/src/bin/zonemgr/zonemgr.py.in (original)
+++ branches/trac335/src/bin/zonemgr/zonemgr.py.in Thu Oct 14 08:00:26 2010
@@ -333,12 +333,12 @@
 
     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:




More information about the bind10-changes mailing list