[Koha-bugs] [Bug 26393] Add cache on Koha::CirculationRules::get_effective_rule

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 9 16:46:53 CEST 2020


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

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109670|0                           |1
        is obsolete|                            |

--- Comment #3 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 109827
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109827&action=edit
Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule

For performance of several circulation pages we should cache the result of
method Koha::CirculationRules::get_effective_rule.

Adds a constant CACHE_NO_CIRCULATION_RULE_VALUE to store a special
value when method must return undef.

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


More information about the Koha-bugs mailing list