From 219fbef26c2d045ccc963e7756603242e3bf614c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 27 Dec 2015 11:26:58 +0100 Subject: [PATCH] soc/tools/remove/client: set socket timeout to 5s --- litex/soc/tools/remote/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/tools/remote/client.py b/litex/soc/tools/remote/client.py index 99e229c2f..d8b3f0ff0 100644 --- a/litex/soc/tools/remote/client.py +++ b/litex/soc/tools/remote/client.py @@ -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"):