pub async fn count_stuck(
conn: &mut PgConnection,
thresholds: &StuckThresholds,
) -> ModelResult<Vec<StuckRegistrationCount>>Expand description
Rows the pipeline should have moved by now, per state. Only the four states with a threshold count: the rest wait on a student or a human, where an alert would fire on normal operation.