Welcome to mirror list, hosted at ThFree Co, Russian Federation.

redis-cluster.config.php « tests - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e255d123f605202346738d0d1bba79d1cda92c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

$CONFIG = [
	'memcache.local' => '\\OC\\Memcache\\Redis',
	'memcache.distributed' => '\\OC\\Memcache\\Redis',
	'memcache.locking' => '\\OC\\Memcache\\Redis',
	'redis.cluster' => [
		'seeds' => [ // provide some/all of the cluster servers to bootstrap discovery, port required
			'cache-cluster:7000',
			'cache-cluster:7001',
			'cache-cluster:7002',
			'cache-cluster:7003',
			'cache-cluster:7004',
			'cache-cluster:7005'
		],
		'timeout' => 0.0,
		'read_timeout' => 0.0,
		'failover_mode' => \RedisCluster::FAILOVER_ERROR
	],
];