]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2136] introduced a new configration item 'poll-interval'
authorNaoki Kambe <kambe@jprs.co.jp>
Thu, 19 Jul 2012 08:55:05 +0000 (17:55 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Sun, 22 Jul 2012 03:35:01 +0000 (12:35 +0900)
This is a time interval to requesting statistics data to each module.

src/bin/stats/stats.spec

index e25dfade26dc05f81a65d72ee5771c52bb8ee483..5be5e947ec94fcbadac6b74114681d76ff4173d9 100644 (file)
@@ -2,7 +2,13 @@
   "module_spec": {
     "module_name": "Stats",
     "module_description": "Stats daemon",
-    "config_data": [],
+    "config_data": [
+      { "item_name": "poll-interval",
+        "item_type": "integer",
+        "item_optional": true,
+        "item_default": 60
+      }
+    ],
     "commands": [
       {
         "command_name": "status",