backend::db::cronjobs

Function cleanup_maps

source
pub async fn cleanup_maps(pool: Arc<Pool>) -> !
Expand description

Permanently remove deleted maps older than 30 days from the database. Runs every CLEANUP_INTERVAL seconds.