Skip to content

Commit

Permalink
Merge pull request #122 from lu-xianseng/master
Browse files Browse the repository at this point in the history
延长rpc超时到60秒
  • Loading branch information
mikigo authored Nov 7, 2024
2 parents 79d7bed + e1775e6 commit 1cb9668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remotectl/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def remote_client(ip, port):
except ImportError:
raise ImportError("Please install zerorpc")

c = zerorpc.Client(timeout=20, heartbeat=None)
c = zerorpc.Client(timeout=60, heartbeat=None)
try:
c.connect(f"tcp://{ip}:{port}")
return c
Expand Down

0 comments on commit 1cb9668

Please sign in to comment.