fix overload

floods node otherwise
This commit is contained in:
SpudGunMan
2025-10-30 23:03:28 -07:00
parent e8a8eefcc2
commit d56c1380c3
+1
View File
@@ -1176,6 +1176,7 @@ def handleAlertBroadcast(deviceID=1):
send_message(alert_msg, emergency_responder_alert_channel, 0, emergency_responder_alert_interface)
if eAlertBroadcastChannel != '':
logger.debug(f"System: Sending {alert_type} alert to aux channel {eAlertBroadcastChannel}")
time.sleep(splitDelay)
send_message(alert_msg, eAlertBroadcastChannel, 0, emergency_responder_alert_interface)
except Exception as e:
logger.error(f"System: Error in handleAlertBroadcast: {e}")