[Koha-bugs] [Bug 32476] New: Add caching for relatively expensive patron methods

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 15 16:13:29 CET 2022


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

            Bug ID: 32476
           Summary: Add caching for relatively expensive patron methods
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: glasklas at gmail.com
        QA Contact: testopia at bugs.koha-community.org

Add caching for is_expired and has_overdues in Koha::Patron, since these are
accessed a lot and involves some database and datetime-operations that really
only needs to be evaluated once per patron object it adds up to quite a lot in
some use cases (where patrons have a significant amount of checkouts).

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


More information about the Koha-bugs mailing list