From bdf52a9d0ada12853ab14cbeda64e858c3a81f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Kr=C3=BCss?= Date: Tue, 2 Jan 2024 20:43:11 -0800 Subject: [PATCH] don't call `CLIENT SETNAME` on cluster connection --- src/Illuminate/Redis/Connectors/PhpRedisConnector.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Illuminate/Redis/Connectors/PhpRedisConnector.php b/src/Illuminate/Redis/Connectors/PhpRedisConnector.php index d15b15cd31d8..72b7bcc8e065 100644 --- a/src/Illuminate/Redis/Connectors/PhpRedisConnector.php +++ b/src/Illuminate/Redis/Connectors/PhpRedisConnector.php @@ -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']); }