Skip to content

Commit

Permalink
add support for timeout argument in RedisCluster (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
zach-iee authored Oct 23, 2023
1 parent 1032660 commit a0ad397
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redis/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def parse_cluster_myshardid(resp, **options):
"ssl_cert_reqs",
"ssl_keyfile",
"ssl_password",
"timeout", # added timeout to support injecting BlockingConnectionPool timeout
"unix_socket_path",
"username",
)
Expand Down

0 comments on commit a0ad397

Please sign in to comment.