Bug 29623: Don't flush the whole L1 cache
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 31 May 2022 05:36:57 +0000 (07:36 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 14 Jun 2022 11:26:59 +0000 (08:26 -0300)
commit61dbe014af3fb09189a89d5b0cd8f86ff84764b2
tree3c9a267a8bb99d89dec4bf592ebcd6b60bcc79cf
parentc373a253e6406bd6c52de615302cd7369c4d6d94
Bug 29623: Don't flush the whole L1 cache

We shouldn't flush L1 cache completely, only the values related to the
circulation rules.
It is not correct to update the value of the value we are currently
setting (because of the inheritance concept of the circ rules).

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Cache/Memory/Lite.pm
Koha/CirculationRules.pm