Skip to main content

cleanup_stale_databases

Function cleanup_stale_databases 

Source
pub async fn cleanup_stale_databases(
    admin_database_url: &str,
    project: impl Into<String>,
    stale_after: Duration,
) -> Result<CleanupReport>
Expand description

Drops only old, tagged resources whose PostgreSQL owner lock is not held.