Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 3, 2023
1 parent 4689321 commit 850d3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Redis/Connectors/PhpRedisConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ protected function createRedisClusterInstance(array $servers, array $options)
}

if (! empty($options['failover'])) {
$client->setOption(Redis::OPT_SLAVE_FAILOVER, $options['failover']);
$client->setOption(RedisCluster::OPT_SLAVE_FAILOVER, $options['failover']);
}

if (! empty($options['name'])) {
Expand Down

0 comments on commit 850d3c3

Please sign in to comment.