muelle.prune
Source: src/muelle/prune.py.
Pruning (`muelle prune`)
Removes preview slots whose last deploy is older than the site's preview TTL,
then applies keepPreviews and keepReleases (never the release `current`
points to), and refreshes the listing. Run daily by muelle-prune.timer.
deployed_at
def deployed_at(slot: Path) -> datetime
Time of the slot's last deploy; the dir's mtime if meta.json is missing or bad.
expired
def expired(config: Config, site: str, now: datetime) -> list[Path]
prune
def prune(config: Config, now: datetime | None = None, sites: list[str] | None = None) -> int
Prunes SITES (default: all); returns how many expired previews were removed.