summaryrefslogtreecommitdiffstats
path: root/lib/private/RedisFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/RedisFactory.php')
-rw-r--r--lib/private/RedisFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/RedisFactory.php b/lib/private/RedisFactory.php
index e254d36aa06..810a0585ebf 100644
--- a/lib/private/RedisFactory.php
+++ b/lib/private/RedisFactory.php
@@ -49,7 +49,7 @@ class RedisFactory {
$this->instance = new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout);
if (isset($config['failover_mode'])) {
- $this->instance->setOption(\RedisCluster::OPT_FAILOVER, $config['failover_mode']);
+ $this->instance->setOption(\RedisCluster::OPT_SLAVE_FAILOVER, $config['failover_mode']);
}
} else {