Skip to content

Commit

Permalink
Update thriftpy2/rpc.py
Browse files Browse the repository at this point in the history
Co-authored-by: AN Long <[email protected]>
  • Loading branch information
cocolato and aisk authored Apr 18, 2024
1 parent 32169ff commit 2d35262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thriftpy2/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def make_client(service, host="localhost", port=9090, unix_socket=None,
host = parsed_url.hostname or host
port = parsed_url.port or port
if unix_socket:
client_socket = TSocket(unix_socket=unix_socket)
client_socket = TSocket(unix_socket=unix_socket, socket_timeout=timeout)
if certfile:
warnings.warn("SSL only works with host:port, not unix_socket.")
elif host and port:
Expand Down

0 comments on commit 2d35262

Please sign in to comment.