(20260217) Fixed async. issue.

This commit is contained in:
2026-02-17 17:30:04 +05:30
parent d035aaa81f
commit f4fd75db60
+4 -1
View File
@@ -330,7 +330,10 @@ async def set_scheduler(
# Run the scheduler:
scheduler.start()
while True: time.sleep(10.0)
while True:
now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
printer("Heartbeat", now)
await asyncio.sleep(60.0)
# *****************************************************************************************************************