Skip to content

Commit

Permalink
remove cache completely after request
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasfranck committed Apr 27, 2021
1 parent 5e07925 commit 39ac30b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/LibreCat/App/Catalogue/Controller/Permission.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ use CHI;
use Moo;

sub cache {
state $cache = CHI->new(
var("cache") or
var cache => CHI->new(
driver => "Memory",
datastore => +{},
expires_in => 5,
Expand Down

0 comments on commit 39ac30b

Please sign in to comment.