more efficient way to do permit tests during opportunistic hold capture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, one part of opportunistic hold capture is retrieving a set of up to 100 nearest candidate holds from open-ils.
However, two problems recently seen with this are:
- For a popular title in a consortium where, generally speaking, not all copies can fill all holds on the title, it is possible to get a set of 100 candidate holds where _none_ of them pass the permit check
- Running the additional individual permit checks for each hold can take ~10 seconds in that worst case
I've experimented with putting the invocation of action.
tags: | added: circ-holds |
description: | updated |
description: | updated |
A WIP patch for feedback is available in the user/gmcharlt/ lp2004521_ add_permit_ test_to_ nearest_ hold_query- wip working branch. Note that this branch is on top of the WIP branch for bug 2004520.