]> 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:04:49 +0000 (14:04 -0400)
commit448057dd9eaeea988cb6bdaa495f0541c317344d
tree2d935a74f0ce306a8bde209f3c0d82ecb3b7fc8f
parenta3a949c5b6e60bd48cbaf1a4c735bdb8eadf1887
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