Skip to content

Commit 84d28db

Browse files
authored
don't call CLIENT SETNAME on cluster connection (#49560)
1 parent 38fa79e commit 84d28db

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Illuminate/Redis/Connectors/PhpRedisConnector.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@ protected function createRedisClusterInstance(array $servers, array $options)
199199
$client->setOption(RedisCluster::OPT_SLAVE_FAILOVER, $options['failover']);
200200
}
201201

202-
if (! empty($options['name'])) {
203-
$client->client('SETNAME', $options['name']);
204-
}
205-
206202
if (array_key_exists('serializer', $options)) {
207203
$client->setOption(Redis::OPT_SERIALIZER, $options['serializer']);
208204
}

0 commit comments

Comments
 (0)