drastically up the timeout for these long-running transactions
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 Jan 2008 20:56:07 +0000 (20:56 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 28 Jan 2008 20:56:07 +0000 (20:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@8518 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Collections.pm

index 2930b47..0b609c4 100644 (file)
@@ -129,7 +129,7 @@ sub process_users_of_interest_results {
     my($self, $conn, $e, $req, $starttime, @params) = @_;
 
    my $total;
-   while( my $resp = $req->recv(timeout => 600) ) {
+   while( my $resp = $req->recv(timeout => 7200) ) {
 
         return $req->failed if $req->failed;
         my $hash = $resp->content;
@@ -304,7 +304,7 @@ sub users_with_activity {
     $conn->status( new OpenSRF::DomainObject::oilsContinueStatus );
 
     my $total;
-    while( my $resp = $req->recv(timeout => 600) ) {
+    while( my $resp = $req->recv(timeout => 7200) ) {
 
         unless($total) {
             $total = time - $start;