pub async fn request_check(
conn: &mut PgConnection,
id: Uuid,
source: EnrolmentCheckSource,
now: DateTime<Utc>,
) -> ModelResult<CheckRequestOutcome>Expand description
A student or teacher asking for a check, or Done being pressed: restarts the row on the check-requested ladder with its immediate check.
Shares one 30-minute limit between every kind of request. The immediate check is skipped when the row was checked within that limit, and past the daily restart cap a request gets its immediate check without restarting the ladder.