Skip to content

Commit

Permalink
Fix async client with resp3 (#2657)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvora-h authored Mar 23, 2023
1 parent 753018e commit 0db4eba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redis/asyncio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def __init__(
auto_close_connection_pool: bool = True,
redis_connect_func=None,
credential_provider: Optional[CredentialProvider] = None,
protocol: Optional[int] = 2,
):
"""
Initialize a new Redis client.
Expand Down Expand Up @@ -213,6 +214,7 @@ def __init__(
"health_check_interval": health_check_interval,
"client_name": client_name,
"redis_connect_func": redis_connect_func,
"protocol": protocol,
}
# based on input, setup appropriate connection args
if unix_socket_path is not None:
Expand Down

0 comments on commit 0db4eba

Please sign in to comment.