Skip to content

Commit

Permalink
延长rpc超时到60秒
Browse files Browse the repository at this point in the history
  • Loading branch information
ut001652 committed Nov 7, 2024
1 parent b3be033 commit e1775e6
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 e1775e6

Please sign in to comment.