Skip to content

Commit 850d3c3

Browse files
committed
wip
1 parent 4689321 commit 850d3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Redis/Connectors/PhpRedisConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ protected function createRedisClusterInstance(array $servers, array $options)
196196
}
197197

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

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

0 commit comments

Comments
 (0)