aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@frank.tg14.gathering.org>2014-04-16 15:20:42 +0200
committerroot <root@frank.tg14.gathering.org>2014-04-16 15:20:42 +0200
commite3b4e4f02cd7c552481a0d80fee0f338fc92bc0f (patch)
tree22c3be7178f06086c2184069a22d4ba83afe745c
parentd6c28010dfb1a95012f0840794c5cc09fd431c93 (diff)
Break locks after five minutes.
-rwxr-xr-xclients/snmpfetch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/snmpfetch.pl b/clients/snmpfetch.pl
index d3f289c..9a8ff50 100755
--- a/clients/snmpfetch.pl
+++ b/clients/snmpfetch.pl
@@ -41,7 +41,7 @@ sub poll_loop {
} else {
$qualification = <<"EOF";
(last_updated IS NULL OR now() - last_updated > poll_frequency)
- AND (locked='f' OR now() - last_updated > '15 minutes'::interval)
+ AND (locked='f' OR now() - last_updated > '5 minutes'::interval)
AND ip is not null
EOF
}