mirror of https://github.com/nextcloud/server.git
Add redis cluster tests to our CI jobs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>pull/4666/head
parent
d83f1d96d4
commit
f73ca1b77f
@ -0,0 +1,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
|
||||
'localhost:7000',
|
||||
'localhost:7001',
|
||||
'localhost:7002',
|
||||
'localhost:7003',
|
||||
'localhost:7004',
|
||||
'localhost:7005'
|
||||
],
|
||||
'timeout' => 0.0,
|
||||
'read_timeout' => 0.0,
|
||||
'failover_mode' => \RedisCluster::FAILOVER_ERROR
|
||||
],
|
||||
];
|
Loading…
Reference in New Issue