[Koha-bugs] [Bug 6193] Use memcached cache koha-conf.xml configuration variables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 23 12:35:25 CEST 2011


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

MJ Ray (software.coop) <mjr at ttllp.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5045|0                           |1
        is obsolete|                            |
   Attachment #5537|0                           |1
        is obsolete|                            |

--- Comment #8 from MJ Ray (software.coop) <mjr at ttllp.co.uk> 2011-09-23 10:35:25 UTC ---
Created attachment 5559
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5559
Bug 6193 - Use memcached cache koha-conf.xml configuration variables

Basically I add some code to Context.pm so it stores koha-conf.xml config vars
in memcached server. It is arguable whether this is an improvement or not,
tests are needed to conclude something about this.

Error handling was an issue with Cache::Memcached, I tried to do it the
simplest I could.

Note: As it was pointless to read the xml file to get the memcached
server info for accessing them for retreiving the info in the koha-conf.xml
file... I passed those values through apache's SetEnv. These variables
are set acordingly through the install scripts and commented out if koha
was setup not to use it.

Bug 6193 - Properly comment the code

Required by slef.

Regards
To+

Signed-off-by: Federico Rinaudo <frinaudo at infocpt.com.ar>
Signed-off-by: MJ Ray <mjr at phonecoop.coop>

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list