luci-app-statistics: Adjust also default_timespan to 2hour
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 29 Dec 2022 10:05:50 +0000 (12:05 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Thu, 29 Dec 2022 10:05:50 +0000 (12:05 +0200)
Adjust also default_timespan option to be 2hour, as that change was
forgotten in 4b49b456. (That seems to have no practical relevance, as
LuCI seems to offer the first item from the period list in any case.)

Fixes: 4b49b456 luci-app-statistics: set shortest period data/graph to 2 hours
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/root/etc/config/luci_statistics

index 603e038800b4937ec4e9037d1c24e9db26dcaba1..bb9ca15e8e98edd7205d81601e2d7652329112ea 100644 (file)
@@ -10,7 +10,7 @@ config statistics 'collectd'
        option ReadThreads '2'
 
 config statistics 'rrdtool'
-       option default_timespan '1hour'
+       option default_timespan '2hour'
        option image_width '600'
        option image_height '150'
        option image_path '/tmp/rrdimg'