Bugzilla – Attachment 70307 Details for
Bug 17833
_initilize_memcached() warns if errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17833: Make sure this warning will not be ignored
Bug-17833-Make-sure-this-warning-will-not-be-ignor.patch (text/plain), 1.18 KB, created by
Jonathan Druart
on 2018-01-05 17:03:10 UTC
(
hide
)
Description:
Bug 17833: Make sure this warning will not be ignored
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-01-05 17:03:10 UTC
Size:
1.18 KB
patch
obsolete
>From 6c45c6a9f451b1e5fb1cdaa7fd09b7e885a24f07 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 5 Jan 2018 14:02:45 -0300 >Subject: [PATCH] Bug 17833: Make sure this warning will not be ignored > >--- > Koha/Cache.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Cache.pm b/Koha/Cache.pm >index 5bab84263a..be478fa4fb 100644 >--- a/Koha/Cache.pm >+++ b/Koha/Cache.pm >@@ -142,8 +142,8 @@ sub _initialize_memcached { > > # Ensure we can actually talk to the memcached server > my $ismemcached = $memcached->set('ismemcached','1'); >- unless ($ismemcached) { #Value is undefined or False, so there was an error with the server, the connection to it, or a protocol error >- warn "Connection to the memcached servers '@servers' failed. Are the unix socket permissions set properly? Is the host reachable?"; >+ unless ($ismemcached) { >+ warn "\nConnection to the memcached servers '@servers' failed. Are the unix socket permissions set properly? Is the host reachable?\nIf you ignore this warning, you will face performance issues\n"; > return $self; > } > $self->{'memcached_cache'} = $memcached; >-- >2.11.0
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 17833
:
58554
|
58556
|
68162
|
70281
| 70307