[Koha-bugs] [Bug 16441] C4::Letters::getletter is not plack safe

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 1 14:21:55 CEST 2016


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #0)
> It won't be a big deal to hit the DBMS to get a valid letter when needed.

Hm. Not sure. getletter is called by GetPreparedLetter, SendCirculationAlert,
etc. In loops ?

-# FIXME: using our here means that a Plack server will need to be
-#        restarted fairly regularly when working with this routine.
-#        A better option would be to use Koha::Cache and use a cache
-#        that actually works in a persistent environment, but as a
-#        short-term fix, our will work.

Why not use this opportunity to add caching?

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


More information about the Koha-bugs mailing list