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

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

index adde626..1173c2e 100644 (file)
@@ -121,7 +121,7 @@ sub users_of_interest {
    $conn->status( new OpenSRF::DomainObject::oilsContinueStatus );
 
    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;
         next unless $hash;
@@ -222,7 +222,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;