fix constant

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Jörn Friedrich Dreyer 2016-11-11 09:58:05 +01:00 committed by Morris Jobke
parent ef57c03dd2
commit 3d0005d001
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 1 additions and 1 deletions

View File

@ -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 {