diff --git a/src/phoenix.rs b/src/phoenix.rs index 1293abd..45e273e 100644 --- a/src/phoenix.rs +++ b/src/phoenix.rs @@ -208,21 +208,7 @@ async fn run_alarm_loop(last_checked: Arc>>) { loop { for phoenix in phoenixes.iter_mut() { - if phoenix.name == "eth-price-stats" { - let limit = Duration::minutes(12); - let age = Utc::now() - phoenix.last_seen; - debug!( - name = "eth-price-stats", - age = age.num_seconds(), - limit = limit.num_seconds(), - "checking age" - ); - if age >= limit { - alarm.fire_dashboard_stalled("eth-price-stats").await; - } - } - - if phoenix.name != "eth-price-stats" && phoenix.is_age_over_limit() { + if phoenix.is_age_over_limit() { alarm.fire_dashboard_stalled(phoenix.name).await; }