pub async fn cleanup_layers(pool: Pool) -> !
Expand description

Permanently remove deleted layers older than 1 day from the database. TODO: increase time in the future Runs every CLEANUP_INTERVAL seconds.