[Koha-bugs] [Bug 17188] Koha does not support several memcached servers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 2 13:48:39 CEST 2016


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

--- Comment #2 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
It's strange, but I'm not able to reproduce this issue in unpatched master
(wheezy, 5.14.2, no plack). I'm wondering if plack / no plack can be a factor
here (and if yes - why?).

This statement

    my @servers =
      split /,/, $self->{'cache_servers'}
      ? $self->{'cache_servers'}
      : ($ENV{MEMCACHED_SERVERS} || '');

(while ugly as bat s**t) seems to work fine for me, I'm getting:

    Default caching system: memcached at /home/koha/devkohaclone/C4/Context.pm
line 514
    Memcached server settings: localhost:11301, localhost:11302 with koha at
/home/koha/devkohaclone/C4/Context.pm line 514
    Selected caching system: Cache::Memcached::Fast=SCALAR(0x297b488) at 
/home/koha/devkohaclone/C4/Context.pm line 514

in both patched and unpatched master.

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


More information about the Koha-bugs mailing list