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:
parent
48237435b2
commit
295fb7fc85
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue