soc/tools/remove/client: set socket timeout to 5s
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 27 Dec 2015 10:26:58 +0000 (11:26 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 27 Dec 2015 10:26:58 +0000 (11:26 +0100)
litex/soc/tools/remote/client.py

index 99e229c2fecb4c09f0f054eefe948e16d9dd38f3..d8b3f0ff05d606f654457775647c64afda84a638 100644 (file)
@@ -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"):