From 1ee2b388f10d28dde144c13c5645983effeb9e49 Mon Sep 17 00:00:00 2001 From: gmc Date: Mon, 22 Nov 2010 13:38:51 +0000 Subject: [PATCH] hold targeter: add option to run parallel targeter processes Permit the hold targeter to divvy up the work and run more than one process at a time by setting the opensrf.xml setting hold_targeter/parallel to a value greater than one. Doing so can significantly reduce the time it takes to (re)target a large number of hold requests, although only up to a point (in other words, if increasing the number of parallel targeters beyond one, it is recommended to do so slowly.) Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18819 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/opensrf.xml.example | 10 ++++ .../Application/Storage/Publisher/action.pm | 44 ++++++++++++++++++ Open-ILS/src/support-scripts/hold_targeter.pl | 54 ++++++++++++++++++---- 3 files changed, 99 insertions(+), 9 deletions(-) diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example index bf1776203a..57ebb2b7ba 100644 --- a/Open-ILS/examples/opensrf.xml.example +++ b/Open-ILS/examples/opensrf.xml.example @@ -130,6 +130,16 @@ vim:et:ts=4:sw=4: + + + + 1 + +