[Koha-bugs] [Bug 17262] Plack on packages is not having memcached set properly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 6 21:51:27 CEST 2016


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 55266
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55266&action=edit
Bug 17262: Inject MEMCACHED_* variables into Plack's env

This patch adds two functions to koha-functions.sh to read the MEMCACHED_*
variables from configured instances' apache files (the only source for that
info for now).

It then tweaks koha-plack's start_plack() function so it exports the variables
to env before launching starman.

The patch seems trivial, but it highlights a bigger problem with our Plack
integration
as the starman server seems to hang if those environment variables are defined!

Sponsored-by: ByWater Solutions

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


More information about the Koha-bugs mailing list