diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/nx2/gdbrsp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/nx2/gdbrsp.py b/tools/nx2/gdbrsp.py index f7e70c8fbe..245ddc24a6 100644 --- a/tools/nx2/gdbrsp.py +++ b/tools/nx2/gdbrsp.py @@ -15,7 +15,8 @@ class Rsp: import time for _ in range(240): # wait up to ~2 min for the stub to listen try: - self.s = socket.create_connection(("127.0.0.1", port), timeout=3600) + self.s = socket.create_connection(("127.0.0.1", port), timeout=3) + self.s.settimeout(None) # a stop can be hours of play away break except OSError: time.sleep(0.5) |
