[Koha-bugs] [Bug 8089] Use Koha::Cache everywhere
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 23 03:07:04 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8089
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12078|0 |1
is obsolete| |
--- Comment #32 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 14765
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14765&action=edit
Bug 8089: Cache sysprefs with Koha::Cache::Object
This patch replaces the %sysprefs hash variable with a
Koha::Cache::Object-tied hash that allows the user to cache sysprefs
in memcached, fastmmap, or memory.
To test:
1) Enable the cache as described on bug 9434.
2) Try viewing some pages in the OPAC and staff client. If the syspref
caching isn't working, you'll be redirected to the web installer
(in the staff client) or be shown the maintenance page (in the OPAC).
3) Disable the cache by unsetting the CACHING_SYSTEM environment
variable.
4) Try viewing some pages in the OPAC and staff client. If the syspref
caching isn't working, you'll be redirected to the web installer
(in the staff client) or be shown the maintenance page (in the OPAC).
Note that this will not improve performance. It does, however, eliminate
the problem of sysprefs not getting updated in all threads in
multi-threaded environments.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list