[open-ils-commits] r15470 - branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Feb 5 17:29:32 EST 2010
Author: erickson
Date: 2010-02-05 17:29:26 -0500 (Fri, 05 Feb 2010)
New Revision: 15470
Modified:
branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
Log:
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
Modified: branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2010-02-05 22:29:01 UTC (rev 15469)
+++ branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2010-02-05 22:29:26 UTC (rev 15470)
@@ -424,7 +424,7 @@
$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 @@
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(
More information about the open-ils-commits
mailing list