mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-06 18:01:18 +02:00
fix overload
floods node otherwise
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user