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:
parent
2ae2cd6924
commit
6994c89d81
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ if (! eval "require LWP::UserAgent;")
|
||||||
my %URLS;
|
my %URLS;
|
||||||
|
|
||||||
# timeout in seconds for requests
|
# 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++)
|
for (my $i = 1; $ENV{"url$i"}; $i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue