]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1677661 Hold Targeter V2 Repairs & Improvements
authorBill Erickson <berickxx@gmail.com>
Wed, 22 Mar 2017 15:47:21 +0000 (11:47 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 30 Mar 2017 15:32:42 +0000 (11:32 -0400)
commitdff9327551148ea4e59d236212dff6023df48b31
tree373e83597f896fb45c4c43fdc08075334d290c9b
parentc85e457b777b82b62c3e9f1c5ca2fd7eb9a73bcd
LP#1677661 Hold Targeter V2 Repairs & Improvements

* Make the batch targeter more resilient to a single-hold failure.

* Additional batch targeter info logging.

* Set OSRF_LOG_CLIENT in hold_targeter_v2.pl for log tracing

* Removes the confusingly name --target-all option

* Adds a new --next-check-interval option for specifying when the
  targeter will next affect the currently processed holds, which may be
  different that now + retarget-interval in cases where the targeter is
  not constantly running.

* Replaces the --skip-viable option with a new --soft-retarget-interval
  option, allowing for time-based soft-targeting.

* Soft-targeting now updates hold_copy_maps for all affected holds, not
  just those requiring a full retarget.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/HoldTargeter.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm
Open-ILS/src/support-scripts/hold_targeter_v2.pl