pub async fn expire_old_codes(pool: &SqlitePool) -> Result<u64>Expand description
Sweep: flip every active code whose expires_at is in the past to
expired. Returns the number of codes expired. Called periodically by the
scheduler.
pub async fn expire_old_codes(pool: &SqlitePool) -> Result<u64>Sweep: flip every active code whose expires_at is in the past to
expired. Returns the number of codes expired. Called periodically by the
scheduler.