Browse Source

[2380] clarified the intent of load iteration setting

JINMEI Tatuya 12 years ago
parent
commit
d1f88a9207
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/bin/loadzone/loadzone.py.in

+ 3 - 0
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)):