7 Sep
2016
7 Sep
'16
12:45 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17189 --- Comment #11 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jacek Ablewicz from comment #6)
sub flush_L1_cache { my( $self ) = @_; - %L1_cache = (); + $L1_cache{$self->{namespace}} = (); }
It's setting $L1_cache{'whatever'} to undef, not sure if that's intentional? Probably not an issue, but I haven't done comprehensive tests of this part, it's only really used under plack. Something like
%{ $L1_cache{$self->{namespace}} } = ();
or
delete $L1_cache{$self->{namespace}};
would be more predictable maybe?
Definitely, thanks for catching it up! -- You are receiving this mail because: You are watching all bug changes.