From 56fcad1baab60c28c5d6d2d74596c9feb2e2bc1a Mon Sep 17 00:00:00 2001 From: Nils Schulte Date: Fri, 22 May 2020 17:54:22 +0200 Subject: [PATCH] wifi connects slower for UI to be responsive --- boot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boot.py b/boot.py index 0ad4f18..2c83a95 100644 --- a/boot.py +++ b/boot.py @@ -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()) \ No newline at end of file +loop.create_task(connect())