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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 20 19:28:34 CET 2022


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

--- Comment #7 from David Gustafsson <glasklas at gmail.com> ---
I missed the code example you posted, I don't think that method would work as I
think you missed the case where we get a cache miss and need to retrieve the
value. To abstract the cache logic I think we have to isolate the retrieval of
the uncached value, in a closure for example, as the code above.

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


More information about the Koha-bugs mailing list