From: erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Fri, 5 Feb 2010 22:28:10 +0000 (+0000)
Subject: these batch calls require a wide timeout window to complete, especially for things... 
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e644e531a0ac7d95b265fe4291f47814d123ff3a;p=evergreen%2Fpines.git

these batch calls require a wide timeout window to complete, especially for things like pre-due notices with large sets of circs.  Up the request timeout

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15468 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
index e397564709..ee70b0b3da 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
@@ -481,7 +481,7 @@ sub create_batch_events {
         $class =~ s/::/_/go;
 
         my $method = 'search_'. $class;
-        my $object_ids = $editor->$method( $filter, {idlist => 1, timeout => 1800} );
+        my $object_ids = $editor->$method( $filter, {idlist => 1, timeout => 7200} );
 
         for my $o_id (@$object_ids) {
 
@@ -589,7 +589,7 @@ sub pending_events {
     }
 
     return $editor->search_action_trigger_event(
-        $query, { idlist=> 1, timeout => 1800 }
+        $query, { idlist=> 1, timeout => 7200 }
     );
 }
 __PACKAGE__->register_method(