From d2dc5c98d43640231e7badee728c8a8335ddf6b4 Mon Sep 17 00:00:00 2001 From: dj2ls Date: Fri, 30 Dec 2022 21:29:22 +0100 Subject: [PATCH] reduced channel busy timeouts --- tnc/data_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index 9cbf7b8c..ef179eca 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -1469,7 +1469,7 @@ class DATA: ) # wait while timeout not reached and our busy state is busy - channel_busy_timeout = time.time() + 30 + channel_busy_timeout = time.time() + 15 while static.CHANNEL_BUSY and time.time() < channel_busy_timeout: threading.Event().wait(0.01) @@ -1963,7 +1963,7 @@ class DATA: ) # wait while timeout not reached and our busy state is busy - channel_busy_timeout = time.time() + 30 + channel_busy_timeout = time.time() + 15 while static.CHANNEL_BUSY and time.time() < channel_busy_timeout: threading.Event().wait(0.01)