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()
|
start_time = self.reactor.monotonic()
|
||||||
while 1:
|
while 1:
|
||||||
connect_time = self.reactor.monotonic()
|
connect_time = self.reactor.monotonic()
|
||||||
if connect_time > start_time + 150.:
|
if connect_time > start_time + 90.:
|
||||||
raise error("Unable to connect")
|
raise error("Unable to connect")
|
||||||
try:
|
try:
|
||||||
if self.baud:
|
if self.baud:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user