Commit 7585239a65a6c2de201111c39d696e6c6a21039e
1 parent
0f72252f
Exists in
master
and in
2 other branches
increase user agent timeout
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spb_copr_status.psgi
| @@ -11,7 +11,7 @@ $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0; | @@ -11,7 +11,7 @@ $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0; | ||
| 11 | 11 | ||
| 12 | sub copr_info { | 12 | sub copr_info { |
| 13 | my $ua = LWP::UserAgent->new; | 13 | my $ua = LWP::UserAgent->new; |
| 14 | - $ua->timeout(10); | 14 | + $ua->timeout(20); |
| 15 | $ua->env_proxy; | 15 | $ua->env_proxy; |
| 16 | $ua->ssl_opts(SSL_verify_mode => 0x00); | 16 | $ua->ssl_opts(SSL_verify_mode => 0x00); |
| 17 | 17 |