From 291a515f0b62ce4b97b9969c19255f3b9ed70b54 Mon Sep 17 00:00:00 2001 From: Maikel Punie Date: Tue, 22 Oct 2024 11:17:16 +0200 Subject: [PATCH] update hb timeout to 5 sec --- duotecno/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duotecno/controller.py b/duotecno/controller.py index 61b70cc..19a693f 100644 --- a/duotecno/controller.py +++ b/duotecno/controller.py @@ -256,7 +256,7 @@ async def heartbeatTask(self) -> None: self._log.debug( f"Waiting until {self.nextHeartbeat} to send a HB ({time.time()})" ) - await asyncio.sleep(1) + await asyncio.sleep(5) # send the heartbeat self.heartbeatReceived.clear() try: