mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
tools/litex_client/open: Reduce timeout now that error are handled.
This commit is contained in:
parent
1225bf4589
commit
fc529dcab5
@ -52,8 +52,8 @@ class RemoteClient(EtherboneIPC, CSRBuilder):
|
|||||||
def open(self):
|
def open(self):
|
||||||
if self.binded:
|
if self.binded:
|
||||||
return
|
return
|
||||||
self.socket = socket.create_connection((self.host, self.port), 5.0)
|
self.socket = socket.create_connection((self.host, self.port))
|
||||||
self.socket.settimeout(5.0)
|
self.socket.settimeout(2.0)
|
||||||
self._receive_server_info()
|
self._receive_server_info()
|
||||||
self.binded = True
|
self.binded = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user