From 295fb7fc85781f4aee1852fc54bbf4471acedb00 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 23 Mar 2020 17:26:48 -0400 Subject: [PATCH] serialhdl: Reduce connection fail timeout from 2.5 minutes to 1.5 minutes Signed-off-by: Kevin O'Connor --- klippy/serialhdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/serialhdl.py b/klippy/serialhdl.py index 98bef943..bc8a9d3c 100644 --- a/klippy/serialhdl.py +++ b/klippy/serialhdl.py @@ -80,7 +80,7 @@ class SerialReader: start_time = self.reactor.monotonic() while 1: connect_time = self.reactor.monotonic() - if connect_time > start_time + 150.: + if connect_time > start_time + 90.: raise error("Unable to connect") try: if self.baud: