summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.init
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-11-03 17:48:11 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2019-11-03 17:54:22 +0200
commitb295c9cff27749558f96527fe91377509aba44ef (patch)
tree8fbd944c2a6fc46d5328c3f0908a0fc3cf3db6fa /net/https-dns-proxy/files/https-dns-proxy.init
parent426ed75dbeec4448ee2cec16bf7c78ee7b3528dc (diff)
collectd: adjust reaction to ntp time at boot time
Adjust the reaction to a polling interval timestamp that references to a past time. Past timestamps can happen when ntpd adjusts router's time after network connectivity is obtained after boot. Collectd shows warnings for each plugin as it tries to enter new values with the same timestamp as the previous one. This patch adjusts the next polling time to be now+2 seconds for the main loop and for the plugin-specific read loops. That avoids the warnings, but does not overreact in case there are shorter polling intervals or the time gets adjusted for other reasons. Additionally some debug statements are aded, but they are visible only when --enable-debug configure option is used in Makefile. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'net/https-dns-proxy/files/https-dns-proxy.init')
0 files changed, 0 insertions, 0 deletions