We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce676f6 commit 37fe536Copy full SHA for 37fe536
thriftpy2/rpc.py
@@ -36,7 +36,7 @@ def make_client(service, host="localhost", port=9090, unix_socket=None,
36
host = parsed_url.hostname or host
37
port = parsed_url.port or port
38
if unix_socket:
39
- socket = TSocket(unix_socket=unix_socket)
+ socket = TSocket(unix_socket=unix_socket, socket_timeout=timeout)
40
if certfile:
41
warnings.warn("SSL only works with host:port, not unix_socket.")
42
elif host and port:
0 commit comments