From 76b778c0546e3dbae61dbb3aad1a9ff3c0f6ade4 Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Thu, 23 May 2019 03:04:58 +0000 Subject: [PATCH] generate documentation from config.sample.php --- .../configuration_server/config_sample_php_parameters.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index b35c60fc4..bf6b8be91 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -1318,11 +1318,12 @@ for more information. 'redis.cluster' => [ 'seeds' => [ // provide some/all of the cluster servers to bootstrap discovery, port required 'localhost:7000', - 'localhost:7001' + 'localhost:7001', ], 'timeout' => 0.0, 'read_timeout' => 0.0, - 'failover_mode' => \RedisCluster::FAILOVER_ERROR + 'failover_mode' => \RedisCluster::FAILOVER_ERROR, + 'password' => '', // Optional, if not defined no password will be used. ], Connection details for a Redis Cluster @@ -1346,6 +1347,9 @@ which then causes a FileLocked exception. See https://redis.io/topics/cluster-spec for details about the Redis cluster +Authentication works with phpredis version 4.2.1+. See +https://github.com/phpredis/phpredis/commit/c5994f2a42b8a348af92d3acb4edff1328ad8ce1 + :: 'memcached_servers' => array(