[Koha-bugs] [Bug 12041] Improve Koha::Cache
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 2 15:56:31 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12041
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #27381|0 |1
is obsolete| |
Attachment #28415|0 |1
is obsolete| |
--- Comment #11 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 28611
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28611&action=edit
Bug 12041 - improve Koha::Cache
This makes Koha::Cache behave better by default. It will use memcached
if available to do shared caching, if that's not available it will fall
back to in-memory caching. It also allows for a singleton accessor to
allow a single cache to be shared within a process.
* Added tests to confirm UTF8-cleanness.
* Added minor fixups to stop warnings.
Test plan:
* The t/Cache.t file runs successfully with and without the
MEMCACHED_SERVERS envvar set (and memcached running in the
environment.)
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list