Commit be085e91 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer Committed by Thomas Müller

fix constant

parent 56ba252e
......@@ -50,7 +50,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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment