]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2380] clarified the intent of load iteration setting
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 18 Dec 2012 04:59:45 +0000 (20:59 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 18 Dec 2012 04:59:45 +0000 (20:59 -0800)
src/bin/loadzone/loadzone.py.in

index 3fff28f2ad232513d4523c7a8805f13d16e169db..115aeea38f6790bb68a5876bb2f9189039c1a056 100755 (executable)
@@ -231,6 +231,9 @@ class LoadZoneRunner:
             if self._load_iteration_limit > 0:
                 limit = self._load_iteration_limit
             else:
+                # configured limit value of 0 has a special meaning of
+                # "no report".  but we still do it incrementally so we won't
+                # delay catching signals too long.
                 limit = LOAD_INTERVAL_DEFAULT
             while (not self.__interrupted and
                    not loader.load_incremental(limit)):