wifi connects slower for UI to be responsive

This commit is contained in:
Nils Schulte 2020-05-22 17:54:22 +02:00
parent 04bce466da
commit 56fcad1baa

View File

@ -39,9 +39,9 @@ async def connect():
except:
pass
finally:
await asyncio.sleep(2)
await asyncio.sleep(60*2)
else:
connectingFor = 0
await asyncio.sleep(2)
await asyncio.sleep(60*15)
loop.create_task(connect())
loop.create_task(connect())