async fn run_retention_cleanup( state: &ServerState, snapshots_days: f64, rolling_days: f64, ) -> Result<(), Box<dyn Error + Send + Sync>>