[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:45:34 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17189

--- Comment #11 from Jonathan Druart <jonathan.druart at 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.


More information about the Koha-bugs mailing list