From: JINMEI Tatuya Date: Tue, 18 Dec 2012 04:59:45 +0000 (-0800) Subject: [2380] clarified the intent of load iteration setting X-Git-Tag: bind10-1.0.0-beta-release~9^2~14^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f88a92073bfe44db618ecf0b88a05c5dd79aa4;p=thirdparty%2Fkea.git [2380] clarified the intent of load iteration setting --- diff --git a/src/bin/loadzone/loadzone.py.in b/src/bin/loadzone/loadzone.py.in index 3fff28f2ad..115aeea38f 100755 --- a/src/bin/loadzone/loadzone.py.in +++ b/src/bin/loadzone/loadzone.py.in @@ -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)):