From e3b4e4f02cd7c552481a0d80fee0f338fc92bc0f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 16 Apr 2014 15:20:42 +0200 Subject: Break locks after five minutes. --- clients/snmpfetch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clients') 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 } -- cgit v1.2.3