Bugzilla – Attachment 55319 Details for
Bug 17189
Add the ability to define several memcached namespaces
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17189: Use delete to flush a L1 cache namespace
Bug-17189-Use-delete-to-flush-a-L1-cache-namespace.patch (text/plain), 796 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2016-09-07 15:59:05 UTC
(
hide
)
Description:
Bug 17189: Use delete to flush a L1 cache namespace
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-09-07 15:59:05 UTC
Size:
796 bytes
patch
obsolete
>From 3b052a1cf9400673bc67a24e7fa83185e085925b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 7 Sep 2016 11:43:32 +0100 >Subject: [PATCH] Bug 17189: Use delete to flush a L1 cache namespace > >Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >https://bugs.koha-community.org/show_bug.cgi?id=11921 >--- > Koha/Cache.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Cache.pm b/Koha/Cache.pm >index 598c35b..ea2ebcb 100644 >--- a/Koha/Cache.pm >+++ b/Koha/Cache.pm >@@ -403,7 +403,7 @@ sub flush_all { > > sub flush_L1_cache { > my( $self ) = @_; >- $L1_cache{$self->{namespace}} = (); >+ delete $L1_cache{$self->{namespace}}; > } > > =head1 TIED INTERFACE >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17189
:
54815
|
54816
|
54817
|
55284
|
55285
|
55286
|
55291
|
55292
|
55293
|
55294
|
55295
|
55301
|
55302
|
55316
|
55317
|
55318
| 55319 |
55320
|
55321
|
55341