[Koha-bugs] [Bug 17189] Add the ability to define several memcached namespaces
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 7 12:24:15 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17189
--- Comment #6 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
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?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list