Fine generator; raise multi-session mode recv timeout When fetching the batch of overdue circ IDs to process for fine generation, wait a little longer for the data to arrive, since it is a longer running DB query than most. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
In-database Grace intervals s it stands the grace period for a transaction is only specified on the fine generator script, but fines can be generated on checkin as well without one. As a result any checkin results in grace periods being negated. The attached patch adds in-db grace periods for all non-booking transactions, removing the grace period from the fine generator cron job script and placing it on the circulation. Grace periods are set on the recurring fine rule with an override available on the circ matchpoint, identical to how renewal count can be overridden from the duration rule already. These grace periods are respected on checkin fine generation as well as on the fine generator cron job script. The upgrade script will assume, by default, a grace period of 1, but has a \set line to change this. It will also update all circulations without a checkin by default, but another \set will allow disabling of that. [ NOTE: for the history of the patch, see: https://bugs.launchpad.net/evergreen/+bug/732679 ] Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com> git-svn-id: svn://svn.open-ils.org/ILS/trunk@19823 dcc99617-32d9-48b4-a31d-7c20da2025e4
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 <gmc@esilibrary.com> git-svn-id: svn://svn.open-ils.org/ILS/trunk@18817 dcc99617-32d9-48b4-a31d-7c20da2025e4
correcting inline description git-svn-id: svn://svn.open-ils.org/ILS/trunk@11246 dcc99617-32d9-48b4-a31d-7c20da2025e4
protect against a 0 grace period git-svn-id: svn://svn.open-ils.org/ILS/trunk@10348 dcc99617-32d9-48b4-a31d-7c20da2025e4
make grace period a command line parameter git-svn-id: svn://svn.open-ils.org/ILS/trunk@10220 dcc99617-32d9-48b4-a31d-7c20da2025e4
Patch from Dan Scott to move JSON to OpenSRF::Utils::JSON: I noticed back when I was first installing OpenSRF that it includes a module, JSON.pm, that exists at the root level of the package directories. This would be fine, except it conflicts with a CPAN module that is also named JSON, which confuses the CPAN installer when you check for upgrades and conceivably could lead to a broken system. I suggested to Mike that it would probably make sense to move the OpenSRF version of the module into the OpenSRF/Utils/ package namespace, and he agreed. Of course, there are ramifications throughout the code, so I've tried to be extra-careful in catching and correcting all of the places where the use of this module surfaces in both OpenSRF and Evergreen. git-svn-id: svn://svn.open-ils.org/ILS/trunk@7503 dcc99617-32d9-48b4-a31d-7c20da2025e4
Patch from Dan Scott to finish up the removal of bootstrap.conf: Attached are patches that complete the work that I should have done in my first patch. git-svn-id: svn://svn.open-ils.org/ILS/trunk@7502 dcc99617-32d9-48b4-a31d-7c20da2025e4
adding interlocks to protect against multiple runs -- only protects one machine! git-svn-id: svn://svn.open-ils.org/ILS/trunk@5916 dcc99617-32d9-48b4-a31d-7c20da2025e4
perl based, so they are safer than srfsh and his puny 1M buffer ;) git-svn-id: svn://svn.open-ils.org/ILS/trunk@5668 dcc99617-32d9-48b4-a31d-7c20da2025e4