summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-31 23:02:16 +0200
committerLudovic Courtès <ludo@gnu.org>2023-06-08 22:27:20 +0200
commit3f5e14182931f123c10513a3e1e2abaebfb52279 (patch)
tree5a1c9161bad12e75f9b2a68a99f2b14f3fda37af /tests
parent92ee0fd5eb7b1572cd4f90a7c12c1137ce74004b (diff)
downloadguix-3f5e14182931f123c10513a3e1e2abaebfb52279.tar.gz
substitute: Delete cached narinfos more than two-month old.
This allows 'guix substitute' to shrink the cache a bit more, which
saves space and improves performance of cache-cleanup phases since fewer
entries need to be traversed.

* guix/scripts/substitute.scm (cached-narinfo-expiration-time): Define
'max-ttl' and use it as an upper bound.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions