Repository navigation
PyXie 0.56.2: metrics retention policy is honoured
Found on CRE: Policies > Metrics retention was set to 200 days, but the nightly prune always kept 400 days and deleted nothing.
- The nightly prune now uses the Metrics retention policy. Values are clamped to 60-3650 days, so a typo can't wipe the history rightsizing and capacity need; a missing or malformed policy still means 400 days.
- The policy's description now says the prune runs nightly and always keeps at least 60 days.
No database migration. Tests: 11 new tests for the retention lookup and prune; full suite passes apart from two lock-scan tests that need Linux /proc (unchanged).