[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 Jun 12 13:00:30 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33795
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #151654|0 |1
is obsolete| |
--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 152276
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152276&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!
Signed-off-by: Sam Lau <samalau at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list