From: erickson Date: Tue, 3 Nov 2009 02:43:03 +0000 (+0000) Subject: there could be many pending events, up the timeout for inititial fetching X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9fde707a3d33bd59e971898507279cb4ae041b27;p=Evergreen.git there could be many pending events, up the timeout for inititial fetching git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@14732 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 e821d4600d..73176f1187 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm @@ -513,7 +513,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 } + { idlist=> 1, timeout => 1800 } ); } __PACKAGE__->register_method(