From 194ed924946cfd6e2ab38b01d9665413570491f4 Mon Sep 17 00:00:00 2001 From: Luke Bearl Date: Tue, 15 Sep 2015 16:19:20 +0100 Subject: Bug 1189281: Use Cache::Memcached::Fast instead of Cache::Memcached. r=dylan --- Bugzilla/Install/Requirements.pm | 4 ++-- Bugzilla/Memcached.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 19797b7b8..47b96e657 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -431,8 +431,8 @@ sub OPTIONAL_MODULES { # memcached { - package => 'Cache-Memcached', - module => 'Cache::Memcached', + package => 'Cache-Memcached-Fast', + module => 'Cache::Memcached::Fast', version => '0', feature => ['memcached'], }, diff --git a/Bugzilla/Memcached.pm b/Bugzilla/Memcached.pm index df90fef93..a468c7575 100644 --- a/Bugzilla/Memcached.pm +++ b/Bugzilla/Memcached.pm @@ -29,10 +29,10 @@ sub _new { if (Bugzilla->feature('memcached') && Bugzilla->params->{memcached_servers}) { - require Cache::Memcached; + require Cache::Memcached::Fast; $self->{namespace} = Bugzilla->params->{memcached_namespace} || ''; $self->{memcached} = - Cache::Memcached->new({ + Cache::Memcached::Fast->new({ servers => [ split(/[, ]+/, Bugzilla->params->{memcached_servers}) ], namespace => $self->{namespace}, }); -- cgit v1.2.3-24-g4f1b