Changeset 28269

Show
Ignore:
Timestamp:
12.09.2013 13:23:12 (6 years ago)
Author:
davidb
Message:

Increasing timeout value. On puka, given its load, 5 secs wasn't always long enough for the server to respond

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/activate.pl

    r28185 r28269  
    405405    my $status = 0; 
    406406    if(defined $url) { 
    407         $ua->timeout(5); # set LWP useragent to 5s max timeout for testing the URL 
     407        $ua->timeout(10); # set LWP useragent to 5s max timeout for testing the URL 
    408408            # Need to set this, else it takes I don't know how long to timeout  
    409409            # http://www.perlmonks.org/?node_id=618534