diff options
author | Kristian Lyngstol <kly@kly@.no> | 2016-03-22 13:04:23 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly@.no> | 2016-03-22 13:04:23 +0100 |
commit | ef480bf237b88e667ff525a1dfb881cb8bd7cf0a (patch) | |
tree | e33742414ae72d41d39e38a924f2b86bc6376754 /clients | |
parent | 2d19233ba32fd23ad7182d3cccb58cec9e377a75 (diff) |
NMS: Ping increase delay, better search
Diffstat (limited to 'clients')
-rwxr-xr-x | clients/ping.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/ping.pl b/clients/ping.pl index 27aa878..174342a 100755 --- a/clients/ping.pl +++ b/clients/ping.pl @@ -21,7 +21,7 @@ my $lq = $dbh->prepare("SELECT linknet,addr1,addr2 FROM linknets"); while (1) { # ping loopbacks my $ping = Net::Oping->new; - $ping->timeout(0.2); + $ping->timeout(0.4); $q->execute; my %ip_to_switch = (); @@ -73,7 +73,7 @@ while (1) { $dbh->commit; # ping linknets $ping = Net::Oping->new; - $ping->timeout(0.2); + $ping->timeout(0.4); $lq->execute; my @linknets = (); |