luci-app-statistics: set shortest period data/graph to 2 hours
authorHannu Nyman <[email protected]>
Tue, 6 Dec 2022 11:37:47 +0000 (13:37 +0200)
committerHannu Nyman <[email protected]>
Sun, 11 Dec 2022 09:39:45 +0000 (11:39 +0200)
commit3a047b13d49f5d100a9dafe7272a47211fbcd9d7
treeb853dc8e65298e7edaa4e347e2082150b3a7eedc
parentdeebfa0b1f671cb8cca1e847aebfaa51eb63e06e
luci-app-statistics: set shortest period data/graph to 2 hours

Change the shortest defined statistics period from 1 hour to 2 hours.

In practice, this only changes the graph for the shortest period
to show 2 hours of data instead of 1 hour.

The underlying database is not changed:
there are currently 288 data items for each period,
so with the 30 seconds default step, the shortest data series
contains 288 x 0.5 min = 144 min > 2 hours of data.

Signed-off-by: Hannu Nyman <[email protected]>
(cherry picked from commit 4b49b45641b34094bd3be8b34de026303dc70f4a)
applications/luci-app-statistics/root/etc/config/luci_statistics