From: erickson Date: Fri, 5 Feb 2010 22:29:01 +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=929bb49894e31ba57d00ba658b7614cf55d51196;p=Evergreen.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/branches/rel_1_6@15469 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 4b6d097dc0..e4301099d8 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm @@ -424,7 +424,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) { @@ -523,7 +523,7 @@ sub pending_events { return $editor->search_action_trigger_event( [{ state => 'pending', run_time => {'<' => 'now'} }, { order_by => { atev => [ qw/run_time add_time/] } }], - { idlist=> 1, timeout => 1800 } + { idlist=> 1, timeout => 7200 } ); } __PACKAGE__->register_method(