mirror of
https://github.com/nextcloud/server.git
synced 2024-12-27 15:38:19 +00:00
1f7e2ba599
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
24 lines
667 B
PHP
24 lines
667 B
PHP
<?php
|
|
/**
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
$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
|
|
],
|
|
];
|