From e644e531a0ac7d95b265fe4291f47814d123ff3a Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 5 Feb 2010 22:28:10 +0000 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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( -- 2.11.0