From eb96d22139a3b36754b8eb553d6af51af9b962ee Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 10 Oct 2024 11:55:42 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system.py b/modules/system.py index 4089dfb..45cea49 100644 --- a/modules/system.py +++ b/modules/system.py @@ -489,7 +489,7 @@ def send_message(message, ch, nodeid=0, nodeInt=1): # Throttle the message sending to prevent spamming the device if (message_list.index(m)+1) % 4 == 0: - time.sleep(1) + time.sleep(responseDelay + 1) if (message_list.index(m)+1) % 5 == 0: logger.warning(f"System: throttling rate Interface{nodeInt} on {chunkOf}")