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

--- Comment #50 from David Gustafsson <[email protected]> ---
I realize it's relevant to mention that the Koha codebase to my knowledge
doesn't have any places where CanBooKBeRenewed is called a sufficient number of
times for performance of the patron methods cached in this patch to be an
issue. We have replaced the opac with our own application that calles
CanBookBeRenewed for each patron issue (and some patron have a rather large
number of issues). So I can see if there is little interest for this. A good
think is that bug 3635 will cache the search query in has_overdues ans
abolishing the need to cache that method, and from I can remember that was the
major culprit, is_expired can probably be left uncached without a major
difference in performance for our case. If more methods are in need of caching
in the future his feature could be useful, but as previously mentioned I can
see if this feature is deemed more trouble than it's worth.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to