Skip to content

Commit

Permalink
fix constant
Browse files Browse the repository at this point in the history
  • Loading branch information
butonic committed Nov 11, 2016
1 parent 4449937 commit 59c8de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/RedisFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private function create() {
$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 {

Expand Down

0 comments on commit 59c8de9

Please sign in to comment.