Browse Source

[2136] introduced a new configration item 'poll-interval'

This is a time interval to requesting statistics data to each module.
Naoki Kambe 12 years ago
parent
commit
a6b0955c2b
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/bin/stats/stats.spec

+ 7 - 1
src/bin/stats/stats.spec

@@ -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",