[Koha-bugs] [Bug 9967] Authorized values are not Plack-compatible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 3 05:12:10 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9967

Robin Sheat <robin at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|gmcharlt at gmail.com          |robin at catalyst.net.nz

--- Comment #5 from Robin Sheat <robin at catalyst.net.nz> ---
Ah yes, there is a local cache for GetMarcStructure. It is also supposed to be
memoised, but I don't see any result of that in memcache, which is strange to
me.

I think the way to fix this is to:
* add a convenient ClearFrameworkCache function and call that from places like
the framework editor, the authorised values editor, and so on,
* remove the memoisation of the function (which I've found tends to be slower
than the local cache anyway, when it works), and
* add a cache timeout (5 minutes?) so that it won't screw up long-term if we
fail to clear the cache somewhere, but still long enough that it'll likely come
out of the woodwork as a bug. This'll also let us tide things over when under
load.

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


More information about the Koha-bugs mailing list