From 6c45c6a9f451b1e5fb1cdaa7fd09b7e885a24f07 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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