Skip to content

Commit a0ad397

Browse files
authored
add support for timeout argument in RedisCluster (#21)
1 parent 1032660 commit a0ad397

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

redis/cluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def parse_cluster_myshardid(resp, **options):
157157
"ssl_cert_reqs",
158158
"ssl_keyfile",
159159
"ssl_password",
160+
"timeout", # added timeout to support injecting BlockingConnectionPool timeout
160161
"unix_socket_path",
161162
"username",
162163
)

0 commit comments

Comments
 (0)