aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/nextcloud-config.php
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-24 16:06:18 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-24 16:02:18 +0200
commitdb80fde0d5e103bf88e82259311ad37afee6bbb0 (patch)
tree637772dd14d08f8d8339b7134668cf453e85cff4 /community/nextcloud/nextcloud-config.php
parent07e311959ba49888cff5ae13ebed7a07925f86e8 (diff)
community/nextcloud: add commented-out config for Redis caching
Diffstat (limited to 'community/nextcloud/nextcloud-config.php')
-rw-r--r--community/nextcloud/nextcloud-config.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/nextcloud/nextcloud-config.php b/community/nextcloud/nextcloud-config.php
index de572edc283..035fb790ecf 100644
--- a/community/nextcloud/nextcloud-config.php
+++ b/community/nextcloud/nextcloud-config.php
@@ -22,5 +22,16 @@ $CONFIG = array (
// Uncomment to enable Zend OPcache.
//'memcache.local' => '\OC\Memcache\APCu',
+ // Uncomment this and add user nextcloud to the redis group to enable Redis
+ // cache for file locking. This is highly recommended, see
+ // https://github.com/nextcloud/server/issues/9305.
+ //'memcache.locking' => '\OC\Memcache\Redis',
+ //'redis' => array(
+ // 'host' => '/run/redis/redis.sock',
+ // 'port' => 0,
+ // 'dbindex' => 0,
+ // 'timeout' => 1.5,
+ //),
+
'installed' => false,
);