Skip to content

Commit 375887a

Browse files
committed
Adding check_health=False for RESP3 on_connect when auth creds are provided.
1 parent dadd366 commit 375887a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def on_connect(self):
440440
self._parser.on_connect(self)
441441
if len(auth_args) == 1:
442442
auth_args = ["default", auth_args[0]]
443-
self.send_command("HELLO", self.protocol, "AUTH", *auth_args)
443+
self.send_command("HELLO", self.protocol, "AUTH", *auth_args, check_health=False)
444444
self.handshake_metadata = self.read_response()
445445
# if response.get(b"proto") != self.protocol and response.get(
446446
# "proto"

0 commit comments

Comments
 (0)