serialhdl: Reduce connection fail timeout from 2.5 minutes to 1.5 minutes

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2020-03-24 10:00:45 -04:00
1 parent 48237435b2
commit 295fb7fc85
1 file changed
+1 -1
+1 -1
View File
@@ -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: