cleanup_stale_installations

Function cleanup_stale_installations 

Source
pub fn cleanup_stale_installations() -> Result<()>
Expand description

Find stale Installing rows and reconcile them with the filesystem. The current database connection is obtained from the process-wide storage layer, which means the caller must have already initialized the database for the active configuration. Each stale package is handled independently so one cleanup failure does not prevent the rest of the recovery pass from running.