From: ivan Date: Mon, 9 Feb 2009 10:38:08 +0000 (+0000) Subject: increase LWP timeout, some reports can take a while X-Git-Tag: root_of_webpay_support~72 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=79d7d48cb95fc16a25aaa5ea67a9dfcafc93f490 increase LWP timeout, some reports can take a while --- diff --git a/FS/bin/freeside-fetch b/FS/bin/freeside-fetch index 3fe1a0039..7b674ed7e 100755 --- a/FS/bin/freeside-fetch +++ b/FS/bin/freeside-fetch @@ -35,6 +35,7 @@ foreach my $employee (@employees) { }; my $ua = new LWP::UserAgent; + $ua->timeout(1800); #30m, some reports can take a while $ua->agent("FreesideFetcher/0.1 " . $ua->agent); my $req = new HTTP::Request GET => $url;