Skip to main content

run_cleanup

Function run_cleanup 

Source
pub async fn run_cleanup(
    store: &dyn ArtifactStore,
    retention_days: u64,
) -> Result<CleanupResult, String>
Expand description

Runs a single cleanup pass against the artifact store.

Deletes all objects whose last_modified timestamp is older than retention_days days from now.