1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

lower the timeout to respect the default munin timeout

This commit is contained in:
Antoine Beaupré 2013-07-09 17:14:20 -04:00
parent 2ae2cd6924
commit 6994c89d81

View file

@ -57,7 +57,8 @@ if (! eval "require LWP::UserAgent;")
my %URLS;
# timeout in seconds for requests
my $timeout = $ENV{'timeout'} || 15;
# slightly lower than the default global timeout (5 seconds)
my $timeout = $ENV{'timeout'} || 3;
for (my $i = 1; $ENV{"url$i"}; $i++)
{