[Koha-bugs] [Bug 33447] Add caching to Biblio->pickup_locations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 17 15:33:59 CEST 2023


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

--- Comment #11 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Marcel de Rooy from comment #10)
> (In reply to Marcel de Rooy from comment #5)
> > I think that it would be a very good thing to try caching here. What I am
> > not sure about, is the theoretical possibility of getting wrong results if
> > we would repeatedly ask for pickup_locations (while handling one request).
> > 
> > I would recommend to add the flush in Biblio->pickup_locations.
> 
> Apart from the syspref issue, this comment still got a bit out of sight. The
> theoretical(!) chance of calling it multiple times within one(!) request..

Multiple times is fine, we don't expect sysprefs to change within a single
request - even for different bibs the results are not different for the same
type of item

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


More information about the Koha-bugs mailing list