]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 19 Dec 2018 13:09:23 +0000 (14:09 +0100)
commit061ce3bf0dfba9ee8771383876bb59f65a9b50d5
tree691771baf9f50c28a623adef074086e17e3b8109
parent7cb565d3604fc12af6f169ba3687a9792d5c41c9
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>
(cherry picked from commit 4bf033c6d6b2a8bf4d5597b3fdf6355fb7060b60)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 6039f64e53172a046c5b579271df7cf434b20e81)
(cherry picked from commit 7ffd1602a005310978a8b1e08efc7397826b4668)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Installer/PerlDependencies.pm
Koha/Cache.pm