From fc529dcab51dfa3fa3cb8fc66b58464a8e0450ee Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 3 Jan 2025 15:45:15 +0100 Subject: [PATCH] tools/litex_client/open: Reduce timeout now that error are handled. --- litex/tools/litex_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/tools/litex_client.py b/litex/tools/litex_client.py index fb3daaba0..97800f4c8 100644 --- a/litex/tools/litex_client.py +++ b/litex/tools/litex_client.py @@ -52,8 +52,8 @@ class RemoteClient(EtherboneIPC, CSRBuilder): def open(self): if self.binded: return - self.socket = socket.create_connection((self.host, self.port), 5.0) - self.socket.settimeout(5.0) + self.socket = socket.create_connection((self.host, self.port)) + self.socket.settimeout(2.0) self._receive_server_info() self.binded = True