Increasing timeout

This commit is contained in:
Axel 2021-12-20 09:51:03 +01:00
parent 6595d09bf2
commit 5079e836ca

View file

@ -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);