disable alert emails

This commit is contained in:
Graham McIntire 2026-01-05 13:51:26 -06:00
parent be3a588e40
commit 7ea79afea1
No known key found for this signature in database

View file

@ -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
_ =