docs: describe cache.idle_ttl and the cleanup run

Document the new idle_ttl key in the example config and the README.
Explain that artifacts never expire by age and that metadata entries
refresh after default_ttl.
This commit is contained in:
2026-11-23 12:50:01 +00:00
parent 9a44683fbd
commit c98720c02e
2 changed files with 14 additions and 2 deletions
+2 -1
View File
@@ -89,8 +89,9 @@ metadata:
log_level: "warn" # GORM log level: silent, error, warn, info
cache:
default_ttl: "168h" # 7 days
default_ttl: "168h" # Freshness window for metadata pages (version lists, packuments, .mod/.info); artifacts never expire by age
cleanup_interval: "1h"
idle_ttl: "168h" # Remove cached items not requested for this long; "0" disables
max_size_bytes: 536870912000 # 500GB
per_project_quota: 53687091200 # 50GB
ttl_overrides: