[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
Wed May 24 22:17:29 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33795
Sam Lau <samalau at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #151535|0 |1
is obsolete| |
--- Comment #2 from Sam Lau <samalau at gmail.com> ---
Created attachment 151654
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151654&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