summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-12-09 01:34:31 +0100
committerAndreas Fischer <bantu@owncloud.com>2014-01-10 00:57:34 +0100
commit320353c237fbee2d9a8f12dd474feb3a0f6ddec6 (patch)
treece1847cbf01f8785da8bc636b13b6ddd0e8552a0 /config
parentb6474506ebde78ef563d0d0c431d8ad02e7f125c (diff)
downloadnextcloud-server-320353c237fbee2d9a8f12dd474feb3a0f6ddec6.tar.gz
nextcloud-server-320353c237fbee2d9a8f12dd474feb3a0f6ddec6.zip
Add support for multiple memcached servers.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/config.sample.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 1070ef72eda..67152accc3b 100755
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -114,8 +114,14 @@ $CONFIG = array(
/* Password to use for sendmail mail, depends on mail_smtpauth if this is used */
"mail_smtppassword" => "",
-/* memcached hostname and port (Only used when xCache, APC and APCu are absent.) */
-"memcached_server" => array('localhost', 11211),
+/* memcached servers (Only used when xCache, APC and APCu are absent.) */
+"memcached_servers" => array(
+ // hostname, port and optional weight. Also see:
+ // http://www.php.net/manual/en/memcached.addservers.php
+ // http://www.php.net/manual/en/memcached.addserver.php
+ array('localhost', 11211),
+ //array('other.host.local', 11211),
+),
/* How long should ownCloud keep deleted files in the trash bin, default value: 30 days */
'trashbin_retention_obligation' => 30,