Bug 13193: Make Memcached usage fork safe
authorJoonas Kylmälä <joonas.kylmala@helsinki.fi>
Mon, 16 Sep 2019 10:26:01 +0000 (10:26 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 7 Feb 2020 09:58:47 +0000 (09:58 +0000)
commit31f1a766256b145cd657d826ec3bc6333a938e50
treec6221433e0335cf12c9807f371bb19cbe86fdac3
parentd5e993ed47400206519bfe74df79e9254f1175fe
Bug 13193: Make Memcached usage fork safe

When a high enough number of forks try to access for example system
preferences with Koha::Cache using memcached as backend the results of
different cache requests get mixed up.

The problem is fixed by using Cache::Memcached::Fast::Safe that is a
fork safe version of Cache::Memcached::Fast.

Sponsored-by: The National Library of Finland
Signed-off-by: David Cook <dcook@prosentient.com.au>

Works as described, and solves an insidious difficult to debug
problem in Koha.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Installer/PerlDependencies.pm
Koha/Cache.pm
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt