Update system.py

This commit is contained in:
SpudGunMan
2024-10-10 11:55:42 -07:00
parent 448b30e0f2
commit eb96d22139
+1 -1
View File
@@ -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}")