Skip to main content

Module prune

Module prune 

Source
Expand description

Boot-time snapshot pruning.

Called from session_manager once per session start. Failure is never fatal — old snapshots taking disk space is annoying but not correctness-breaking, so we log and move on.

Constants§

DEFAULT_MAX_AGE
Default snapshot retention window: 7 days.

Functions§

prune_older_than
Prune snapshots older than max_age for the given workspace.