Bug 21955: Remove Cache::Memory as fallback for L2 cache
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Dec 2018 19:39:02 +0000 (16:39 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 11 Dec 2018 19:10:46 +0000 (19:10 +0000)
commit4bf033c6d6b2a8bf4d5597b3fdf6355fb7060b60
treec61b44700dac58ca3418404469322b23f34dc415
parentb4580bff5ba7753f9db2513c3b87ecb9bba5258c
Bug 21955: Remove Cache::Memory as fallback for L2 cache

If Plack is running with several workers we must not use Cache::Memory
as L2 cache.

If a value is set from a worker, it will not be available from other
workers as the Cache::Memory instance is not shared (of course!)

Moreover we now have Koha::Cache::Memory::Lite that does the same job,
so we should not expect performance regressions by removing it.

See also the email sent to koha-devel for more info
http://lists.koha-community.org/pipermail/koha-devel/2018-December/045004.html

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Installer/PerlDependencies.pm
Koha/Cache.pm