packages/net/vnstat/patches/990-adjust-configuration-defaults.patch
Daniel Engberg b8cf63a654 net/vnstat: Update to 1.17
Update vnStat to 1.17 which fixes database issue.
Remove unecessary patch
Based on:
commit 79b6e9dc61 by
Jo-Philipp Wich <jo@mein.io>

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-03-27 16:55:47 +02:00

28 lines
717 B
Diff

From: Jo-Philipp Wich <jo@mein.io>
Date: Thu, 26 Jan 2017 15:30:00 +0100
Subject: [PATCH] config: adjust default values
Adjust the default interval settings to be better suited for slower embedded
devices.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
--- a/cfg/vnstat.conf
+++ b/cfg/vnstat.conf
@@ -87,13 +87,13 @@ DaemonUser ""
DaemonGroup ""
# how often (in seconds) interface data is updated
-UpdateInterval 30
+UpdateInterval 60
# how often (in seconds) interface status changes are checked
-PollInterval 5
+PollInterval 30
# how often (in minutes) data is saved to file
-SaveInterval 5
+SaveInterval 30
# how often (in minutes) data is saved when all interface are offline
OfflineSaveInterval 30