Bugzilla – Attachment 57051 Details for
Bug 17261
Add memcached configuration info to about.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 17261: The default memcached namespace is "koha"
PASSED-QA-Bug-17261-The-default-memcached-namespac.patch (text/plain), 1.22 KB, created by
Katrin Fischer
on 2016-11-01 16:17:12 UTC
(
hide
)
Description:
[PASSED QA] Bug 17261: The default memcached namespace is "koha"
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-11-01 16:17:12 UTC
Size:
1.22 KB
patch
obsolete
>From 9ac4435bf6dce0373ebfb82516003ad8d1ff4a64 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Sep 2016 09:24:00 +0100 >Subject: [PATCH] [PASSED QA] Bug 17261: The default memcached namespace is > "koha" > >If no namespace is defined in ENV or the config, "koha" is used as the >default memcached namespace (See Koha::Cache->new) > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > about.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/about.pl b/about.pl >index a8e836f..c489515 100755 >--- a/about.pl >+++ b/about.pl >@@ -72,8 +72,8 @@ if ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) { > } > > # Memcached configuration >-my $memcached_servers = $ENV{MEMCACHED_SERVERS} // C4::Context->config('memcached_servers'); >-my $memcached_namespace = $ENV{MEMCACHED_NAMESPACE} // C4::Context->config('memcached_namespace'); >+my $memcached_servers = $ENV{MEMCACHED_SERVERS} || C4::Context->config('memcached_servers'); >+my $memcached_namespace = $ENV{MEMCACHED_NAMESPACE} || C4::Context->config('memcached_namespace') // 'koha'; > > my $effective_caching_method = ref(Koha::Caches->get_instance->cache); > >-- >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 17261
:
55265
|
55297
|
55309
|
55327
|
55328
|
55535
|
55536
|
55537
|
55538
|
55542
|
57049
|
57050
| 57051 |
57052
|
57053