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

--- Comment #6 from Jacek Ablewicz <[email protected]> ---
 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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to