From 9193214274889f2b7636146e72d8200e9bfaeb7b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 4 Mar 2014 15:50:54 +0800 Subject: Bug 966180: backport bug 956233 to bmo (enable USE_MEMCACHE on most objects) --- Bugzilla/Comment/TagWeights.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/Comment') diff --git a/Bugzilla/Comment/TagWeights.pm b/Bugzilla/Comment/TagWeights.pm index 5835efbc4..f1a220a47 100644 --- a/Bugzilla/Comment/TagWeights.pm +++ b/Bugzilla/Comment/TagWeights.pm @@ -35,6 +35,9 @@ use constant NAME_FIELD => 'tag'; use constant LIST_ORDER => 'weight DESC'; use constant VALIDATORS => { }; +# There's no gain to caching these objects +use constant USE_MEMCACHED => 0; + sub tag { return $_[0]->{'tag'} } sub weight { return $_[0]->{'weight'} } -- cgit v1.2.3-24-g4f1b