]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1596595 Find parallel holds in main query
authorBill Erickson <berickxx@gmail.com>
Mon, 5 Dec 2016 20:46:41 +0000 (15:46 -0500)
committerBill Erickson <berickxx@gmail.com>
Mon, 13 Feb 2017 15:33:29 +0000 (10:33 -0500)
commit4688ba26d59a2460313df4c865ca06c1066ad33d
tree1428ed450f66649e11296343931c6c9f7800d6d6
parent59b1c8d90461f893af977c1684608005a014993a
LP#1596595 Find parallel holds in main query

Identify holds to process by which metarecord the hold is (ultimately)
linked to within the main holds query instead of via a secondary filter.
This avoids the overhead of starting a new batch of hold targeters,
where each process has to fetch all possible holds, then filter down to
those targetable within the current parallel slot.  In thise case, each
process only retrieves the holds it plans to process.

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