Commit f70d21effb2feca97eb636803feed3ae87f369c4
1 parent
d6f23b19
Exists in
master
and in
2 other branches
Increase HTTP get timeout
This was done due to the amount of time it takes to get the spec files from gitlab.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/CoprStatus.pm
| @@ -8,7 +8,7 @@ $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0; | @@ -8,7 +8,7 @@ $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0; | ||
| 8 | 8 | ||
| 9 | sub copr_info { | 9 | sub copr_info { |
| 10 | my $ua = LWP::UserAgent->new; | 10 | my $ua = LWP::UserAgent->new; |
| 11 | - $ua->timeout(20); | 11 | + $ua->timeout(300); |
| 12 | $ua->env_proxy; | 12 | $ua->env_proxy; |
| 13 | $ua->ssl_opts(SSL_verify_mode => 0x00); | 13 | $ua->ssl_opts(SSL_verify_mode => 0x00); |
| 14 | 14 |