soc/tools/remove/client: set socket timeout to 5s
This commit is contained in:
parent
6ea65f957c
commit
219fbef26c
|
@ -18,7 +18,7 @@ class RemoteClient(EtherboneIPC, CSRBuilder):
|
|||
if hasattr(self, "socket"):
|
||||
return
|
||||
self.socket = socket.create_connection((self.host, self.port), 5.0)
|
||||
self.socket.settimeout(1.0)
|
||||
self.socket.settimeout(5.0)
|
||||
|
||||
def close(self):
|
||||
if not hasattr(self, "socket"):
|
||||
|
|
Loading…
Reference in New Issue