[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
Wed Sep 21 20:05:33 CEST 2016


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

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #55266|0                           |1
        is obsolete|                            |

--- Comment #7 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 55742
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55742&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
Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

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


More information about the Koha-bugs mailing list