From 5ba23745c5927e7417070208cce16962226e3367 Mon Sep 17 00:00:00 2001 From: Robert Brisita <986796+rbrisita@users.noreply.github.com> Date: Wed, 17 Apr 2024 21:50:09 -0400 Subject: [PATCH] Resolving the disconnect message. --- software/source/clients/base_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/source/clients/base_device.py b/software/source/clients/base_device.py index 3bf900e..2e63e66 100644 --- a/software/source/clients/base_device.py +++ b/software/source/clients/base_device.py @@ -355,7 +355,7 @@ class Device: else: while True: try: - async with websockets.connect(WS_URL) as websocket: + async with websockets.connect(WS_URL, ping_timeout=None) as websocket: await exec_ws_communication(websocket) except: logger.debug(traceback.format_exc())