summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2021-11-28 20:18:00 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2021-11-28 20:22:27 +0200
commitc21c6668edfc5154070660afa80153caad6565f7 (patch)
tree209767b87e2d848719c5b0ab9dc86a1f38a7a632 /applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins
parentb0a7c4ccdf93397cc2419cb8837b544f1eb11ca4 (diff)
luci-app-statistics: increase default amount of data items in RRD
Increase the default number of data items in the RRD database from 144 to 288. This leads to smaller summarising/averaging periods, visible especially in the day & week graphs. The averaging intervals will be: 30s, 5min, 35min, 2h35min, 1d6h30min (Note: this change only applies in a live router if the RRD database is empty. E.g after reboot or after emptying the RRD database dir.) Reference to discussion at #4065 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins')
-rw-r--r--applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/rrdtool.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/rrdtool.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/rrdtool.js
index c1eb171ee7..e971e2c6c4 100644
--- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/rrdtool.js
+++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/rrdtool.js
@@ -50,7 +50,7 @@ return baseclass.extend({
};
o = s.option(form.Value, 'RRARows', _('Rows per RRA'));
- o.default = '144';
+ o.default = '288';
o.datatype = 'min(1)';
o.depends('enable', '1');