tools/litex_client/open: Reduce timeout now that error are handled.

This commit is contained in:
Florent Kermarrec 2025-01-03 15:45:15 +01:00
parent 1225bf4589
commit fc529dcab5
1 changed files with 2 additions and 2 deletions

View File

@ -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