From 8f51c52e41bf3dcf7141d8328b522e2a215ccdb8 Mon Sep 17 00:00:00 2001 From: gmc Date: Mon, 22 Nov 2010 13:17:57 +0000 Subject: [PATCH] parallel fine generator The fine generator cronjob can now use multiple parallel processes by setting fine_generator/parallel in opensrf.xml to a value greater than 1. This can speed up periodic fine generation in a database containing a large number of overdue loans. Also added a service to return just the list of IDs of overdue loans and reservations - fleshing the entire set of overdue loans when generating fines has been observed to cause significant swap-thrashing in at least one large database. Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/trunk@18817 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/opensrf.xml.example | 6 ++++ .../Application/Storage/Publisher/action.pm | 15 ++++++++-- Open-ILS/src/support-scripts/fine_generator.pl | 34 +++++++++++++++++++--- 3 files changed, 48 insertions(+), 7 deletions(-) diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example index 464592993..ac959c3ca 100644 --- a/Open-ILS/examples/opensrf.xml.example +++ b/Open-ILS/examples/opensrf.xml.example @@ -139,6 +139,12 @@ vim:et:ts=4:sw=4: --> 1 + + + + + 1 +