Skip to main content

purge_expired

Function purge_expired 

Source
pub async fn purge_expired(pool: &PgPool, retention_days: u32) -> AppResult<u64>
Expand description

Deletes the idle threads of everybody (the periodic clean-up) and returns how many went.