Skip to main content

count_stuck_in_state

Function count_stuck_in_state 

Source
pub fn count_stuck_in_state(
    rows: &[AttentionRegistration],
    thresholds: &StuckThresholds,
    now: DateTime<Utc>,
) -> Vec<StuckRegistrationCount>
Expand description

Rows past their state’s threshold, per state, for the stuck-registrations alert. Counted whatever their Needs attention standing: a dismissal or another reason does not unstick a row.