Increasing timeout
This commit is contained in:
parent
6595d09bf2
commit
5079e836ca
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ sub check_http {
|
||||||
ssl_opts => { verify_hostname => 1 },
|
ssl_opts => { verify_hostname => 1 },
|
||||||
protocols_allowed => ['http', 'https']
|
protocols_allowed => ['http', 'https']
|
||||||
);
|
);
|
||||||
$check->timeout(5);
|
$check->timeout(20);
|
||||||
$check->env_proxy;
|
$check->env_proxy;
|
||||||
|
|
||||||
my $response = $check->get($host, ':content_cb' => \&process_data);
|
my $response = $check->get($host, ':content_cb' => \&process_data);
|
||||||
|
|
Loading…
Add table
Reference in a new issue