From 7ea79afea1dfea69638da6f49bb903844dcb2fa9 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 5 Jan 2026 13:51:26 -0600 Subject: [PATCH] disable alert emails --- lib/towerops/monitoring/equipment_monitor.ex | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/towerops/monitoring/equipment_monitor.ex b/lib/towerops/monitoring/equipment_monitor.ex index e0b0c4e6..3774a5f1 100644 --- a/lib/towerops/monitoring/equipment_monitor.ex +++ b/lib/towerops/monitoring/equipment_monitor.ex @@ -153,12 +153,12 @@ defmodule Towerops.Monitoring.EquipmentMonitor do }) # Send email notification in background (not in test environment) - _ = - if !test_env?() do - Task.start(fn -> - Alerts.send_alert_notification(alert) - end) - end + # _ = + # if !test_env?() do + # Task.start(fn -> + # Alerts.send_alert_notification(alert) + # end) + # end # Broadcast alert _ = @@ -187,12 +187,12 @@ defmodule Towerops.Monitoring.EquipmentMonitor do }) # Send email notification in background (not in test environment) - _ = - if !test_env?() do - Task.start(fn -> - Alerts.send_alert_notification(alert) - end) - end + # _ = + # if !test_env?() do + # Task.start(fn -> + # Alerts.send_alert_notification(alert) + # end) + # end # Resolve any active equipment_down alerts _ =