summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Bearl <lbearl@gmail.com>2015-09-15 17:19:20 +0200
committerGervase Markham <gerv@gerv.net>2015-09-15 17:19:20 +0200
commit194ed924946cfd6e2ab38b01d9665413570491f4 (patch)
tree09a640cabcd92ab29d79ff11d835b13c5d99b6fc
parent3db657e09abf354416cad4d42030167c0b8585f6 (diff)
downloadbugzilla-194ed924946cfd6e2ab38b01d9665413570491f4.tar.gz
bugzilla-194ed924946cfd6e2ab38b01d9665413570491f4.tar.xz
Bug 1189281: Use Cache::Memcached::Fast instead of Cache::Memcached. r=dylan
-rw-r--r--Bugzilla/Install/Requirements.pm4
-rw-r--r--Bugzilla/Memcached.pm4
2 files changed, 4 insertions, 4 deletions
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},
});