1627b4d726c764381f5ad1308e3f1d2bdc62df45
[feed/packages.git] / net / vnstat / patches / 990-adjust-configuration-defaults.patch
1 From: Jo-Philipp Wich <jo@mein.io>
2 Date: Thu, 26 Jan 2017 15:30:00 +0100
3 Subject: [PATCH] config: adjust default values
4
5 Adjust the default interval settings to be better suited for slower embedded
6 devices.
7
8 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9
10 --- a/cfg/vnstat.conf
11 +++ b/cfg/vnstat.conf
12 @@ -87,13 +87,13 @@ DaemonUser ""
13 DaemonGroup ""
14
15 # how often (in seconds) interface data is updated
16 -UpdateInterval 30
17 +UpdateInterval 60
18
19 # how often (in seconds) interface status changes are checked
20 -PollInterval 5
21 +PollInterval 30
22
23 # how often (in minutes) data is saved to file
24 -SaveInterval 5
25 +SaveInterval 30
26
27 # how often (in minutes) data is saved when all interface are offline
28 OfflineSaveInterval 30