diff options
author | Kristian Lyngstol <kly@kly@.no> | 2016-03-22 19:54:00 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly@.no> | 2016-03-22 19:54:00 +0100 |
commit | 8e2fb5f3c7fbfbb13224f0cb8a610837bfef364a (patch) | |
tree | e4a2d43eb86e912f44b8d397e8f86450a1d0469a /clients/ping.pl | |
parent | 05fedaa7461c6fd67c402671f0e129b3d1772fbf (diff) |
Update nms-public code
Diffstat (limited to 'clients/ping.pl')
-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 3f4139e..1ad7b95 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.4); + $ping->timeout(0.3); $q->execute; my %ip_to_switch = (); @@ -73,7 +73,7 @@ while (1) { $dbh->commit; # ping linknets $ping = Net::Oping->new; - $ping->timeout(0.4); + $ping->timeout(0.3); $lq->execute; my @linknets = (); |