summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-12-10 12:24:20 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-12-10 12:24:20 +0100
commit363e9667ececca66a223934ded569425abd34cdf (patch)
treeb331d7c5df5bb8f4698a7b5740fdd626d3cbd2a6 /config
parente3de51078d4c9eb26eb7f09a98ff97c371ae9180 (diff)
downloadnextcloud-server-363e9667ececca66a223934ded569425abd34cdf.tar.gz
nextcloud-server-363e9667ececca66a223934ded569425abd34cdf.zip
Add Redis cache implementation, prefer over memcached, tests & config sample
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 791ffa3df90..35e3f6ce5f1 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -749,9 +749,21 @@ $CONFIG = array(
*/
'cipher' => 'AES-256-CFB',
+
+/**
+ * Connection details for redis to use for memory caching.
+ * Redis is only used if other memory cache options (xcache, apc, apcu) are
+ * not available.
+ */
+'redis' => array(
+ 'host' => 'localhost', // can also be a unix domain socket: '/tmp/redis.sock'
+ 'port' => 6379,
+ 'timeout' => 0.0
+),
+
/**
* Server details for one or more memcached servers to use for memory caching.
- * Memcache is only used if other memory cache options (xcache, apc, apcu) are
+ * Memcache is only used if other memory cache options (xcache, apc, apcu, redis) are
* not available.
*/
'memcached_servers' => array(