]> git.evergreen-ils.org Git - 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)
committerJason Stephenson <jason@sigio.com>
Thu, 18 May 2017 18:03:57 +0000 (14:03 -0400)
commit3073bcb696e5ffe144dd526fc4f54d904a7e0783
tree5b5e67dd4074951cf413dc72c08035142366dc11
parent04ba0cb4b666ecca4fa53c08ea42ed7a9e2b7771
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>
Signed-off-by: Jason Stephenson <jason@sigio.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