Skip to content

Commit

Permalink
don't call CLIENT SETNAME on cluster connection (#49560)
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss authored Jan 3, 2024
1 parent 38fa79e commit 84d28db
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Illuminate/Redis/Connectors/PhpRedisConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ protected function createRedisClusterInstance(array $servers, array $options)
$client->setOption(RedisCluster::OPT_SLAVE_FAILOVER, $options['failover']);
}

if (! empty($options['name'])) {
$client->client('SETNAME', $options['name']);
}

if (array_key_exists('serializer', $options)) {
$client->setOption(Redis::OPT_SERIALIZER, $options['serializer']);
}
Expand Down

0 comments on commit 84d28db

Please sign in to comment.