summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config/Memcached.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2014-01-22 09:23:53 +0100
committerByron Jones <bjones@mozilla.com>2014-01-22 09:23:53 +0100
commita7785b988566ece642c62664b51bcc822964625e (patch)
tree23083af3c07b41734376a041357f580e365475f5 /Bugzilla/Config/Memcached.pm
parent412d7c4f25611cf60810b5a3d26f0fef6b0c715f (diff)
downloadbugzilla-a7785b988566ece642c62664b51bcc822964625e.tar.gz
bugzilla-a7785b988566ece642c62664b51bcc822964625e.tar.xz
Bug 951974: backport bug 237498 to bmo (Use memcached to improve performance)
Diffstat (limited to 'Bugzilla/Config/Memcached.pm')
-rw-r--r--Bugzilla/Config/Memcached.pm32
1 files changed, 32 insertions, 0 deletions
diff --git a/Bugzilla/Config/Memcached.pm b/Bugzilla/Config/Memcached.pm
new file mode 100644
index 000000000..08d8ce0e7
--- /dev/null
+++ b/Bugzilla/Config/Memcached.pm
@@ -0,0 +1,32 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This Source Code Form is "Incompatible With Secondary Licenses", as
+# defined by the Mozilla Public License, v. 2.0.
+
+package Bugzilla::Config::Memcached;
+
+use 5.10.1;
+use strict;
+
+use Bugzilla::Config::Common;
+
+our $sortkey = 1550;
+
+sub get_param_list {
+ return (
+ {
+ name => 'memcached_servers',
+ type => 't',
+ default => ''
+ },
+ {
+ name => 'memcached_namespace',
+ type => 't',
+ default => 'bugzilla:',
+ },
+ );
+}
+
+1;