diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-07 16:50:33 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-07 16:50:33 +0200 |
commit | 6a0921dc54f9f9b8f13ec67c2fa18be702111e8e (patch) | |
tree | 026cbb6e7faca8a0e81906ca6ae97c4fc7aedae5 | |
parent | c587686e9a8ced8621b48fa4848586cd56578f55 (diff) | |
download | perlisdead-6a0921dc54f9f9b8f13ec67c2fa18be702111e8e.tar.gz |
Increase timeout
-rwxr-xr-x | run/irc | 2 | ||||
-rwxr-xr-x | run/perlmonks | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ use warnings; use LWP::UserAgent (); -my $ua = LWP::UserAgent->new(timeout => 5); +my $ua = LWP::UserAgent->new(timeout => 10); $ua->ssl_opts(verify_hostname => 0); $ua->env_proxy; $ua->agent(''); diff --git a/run/perlmonks b/run/perlmonks index 4c99ecf..499fe61 100755 --- a/run/perlmonks +++ b/run/perlmonks @@ -9,7 +9,7 @@ use Time::Piece; use XML::LibXML; # Retrieve XML -my $ua = LWP::UserAgent->new(timeout => 5); +my $ua = LWP::UserAgent->new(timeout => 15); $ua->ssl_opts(verify_hostname => 0); $ua->env_proxy; $ua->agent(''); |