mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/tools/remove/client: set socket timeout to 5s
This commit is contained in:
parent
6ea65f957c
commit
219fbef26c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class RemoteClient(EtherboneIPC, CSRBuilder):
|
||||||
if hasattr(self, "socket"):
|
if hasattr(self, "socket"):
|
||||||
return
|
return
|
||||||
self.socket = socket.create_connection((self.host, self.port), 5.0)
|
self.socket = socket.create_connection((self.host, self.port), 5.0)
|
||||||
self.socket.settimeout(1.0)
|
self.socket.settimeout(5.0)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
if not hasattr(self, "socket"):
|
if not hasattr(self, "socket"):
|
||||||
|
|
Loading…
Reference in a new issue