LP#1596595 Find parallel holds in main query 2_11_1_hold_targeter_test
authorBill Erickson <berickxx@gmail.com>
Mon, 5 Dec 2016 20:46:41 +0000 (15:46 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 6 Dec 2016 00:25:28 +0000 (19:25 -0500)
commitb0739be3b4a83ae2ad3fcc056ffb57f108bf4bdd
treec0188cd57a87856cc7564e0f08d7e9a898211aed
parentf60210d2c8fb83b2466ce45914d6f6dce0850122
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