[Koha-bugs] [Bug 33795] Holds Queue builder should do cheap checks before expensive checks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 22 18:24:23 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33795

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 151535
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151535&action=edit
Bug 33795: Holds Queue builder should do cheap checks before expensive checks

The holds queue builder runs many checks in a somewhat arbitrary order. We
should order those checks such that the most expensive checks are at the end
and can be avoided if a faster check fails.

Test Plan:
1) prove t/db_dependent/HoldsQueue.t
2) Apply this patch
3) prove t/db_dependent/HoldsQueue.t
4) Tests still pass!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list