summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config/Memcached.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-12-19 06:44:01 +0100
committerByron Jones <bjones@mozilla.com>2013-12-19 06:44:01 +0100
commita11f4823342225b2dbe8b931b90d8d14ba80a236 (patch)
tree0f8abf8c82525cfdaafae2e50cb3e109d9c7cb87 /Bugzilla/Config/Memcached.pm
parenteda2c8f8f6fd009e2b2621a4fc839c8697ebcf7b (diff)
downloadbugzilla-a11f4823342225b2dbe8b931b90d8d14ba80a236.tar.gz
bugzilla-a11f4823342225b2dbe8b931b90d8d14ba80a236.tar.xz
Bug 237498: Add memcached integration
r=dkl, a=sgreen
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;