[open-ils-commits] r15468 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Feb 5 17:28:16 EST 2010
Author: erickson
Date: 2010-02-05 17:28:10 -0500 (Fri, 05 Feb 2010)
New Revision: 15468
Modified:
trunk/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: trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2010-02-05 21:55:23 UTC (rev 15467)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2010-02-05 22:28:10 UTC (rev 15468)
@@ -481,7 +481,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) {
@@ -589,7 +589,7 @@
}
return $editor->search_action_trigger_event(
- $query, { idlist=> 1, timeout => 1800 }
+ $query, { idlist=> 1, timeout => 7200 }
);
}
__PACKAGE__->register_method(
More information about the open-ils-commits
mailing list