wifi connects slower for UI to be responsive
This commit is contained in:
parent
04bce466da
commit
56fcad1baa
6
boot.py
6
boot.py
@ -39,9 +39,9 @@ async def connect():
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
await asyncio.sleep(2)
|
await asyncio.sleep(60*2)
|
||||||
else:
|
else:
|
||||||
connectingFor = 0
|
connectingFor = 0
|
||||||
await asyncio.sleep(2)
|
await asyncio.sleep(60*15)
|
||||||
|
|
||||||
loop.create_task(connect())
|
loop.create_task(connect())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user