Summary: | Add cache on Koha::CirculationRules::get_effective_rule | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Architecture, internals, and plumbing | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | arthur.suzuki, julian.maurice |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26424 | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule
Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule |
Description
Fridolin Somers
2020-09-04 15:23:58 UTC
Created attachment 109670 [details] [review] 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 may look at patch, test plan is comming Created attachment 109827 [details] [review] 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. Created attachment 109839 [details] [review] 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. Created attachment 109840 [details] [review] 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. Created attachment 109846 [details] [review] 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. Arf my tests dont prove a performance difference. Foud Bug 26424 is a real performance improvement. I set to in discussion in case someone is interested. |