[Koha-bugs] [Bug 13193] Make Memcached usage fork safe
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 18 05:51:49 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13193
--- Comment #35 from David Cook <dcook at prosentient.com.au> ---
Ok so C4::Context calls the following which creates a singleton Koha::Cache in
the process where C4::Context is first loaded (after it's compiled):
my $syspref_cache = Koha::Caches->get_instance('syspref');
It looks like the $syspref_cache is the same object shared between all the
child processes... which should mean they all are using the same socket as
well...
I don't know why this isn't working. It should be working (or rather causing
errors).
So I'm going to go one step lower and just try the test using Koha::Cache
directly.
Oh yes that's much better. There has to be some logic in C4::Context throwing
me off...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list