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 2020-03-23 17:26:48 -04:00
parent 48237435b2
commit 295fb7fc85
1 changed files with 1 additions and 1 deletions

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: