aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/security.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-06-04 09:41:28 +0200
committerLudovic Courtès <ludo@gnu.org>2024-06-13 11:38:24 +0200
commit7e00fb9f31f51ac2f9fa67b71a3eb8aaa23efdb6 (patch)
treec8a8a7d415cf8f2ec3789591e1eb22285d662524 /gnu/tests/security.scm
parent086fe7ef25856a53f3d21732ea76498fc94c27a7 (diff)
downloadguix-7e00fb9f31f51ac2f9fa67b71a3eb8aaa23efdb6.tar.gz
guix-7e00fb9f31f51ac2f9fa67b71a3eb8aaa23efdb6.zip
substitute: Don’t keep cache entries more than a few days.
Experience has shown that keeping too many entries increases disk usage and, more importantly, leads to long delays when cleaning up the cache, measured in minutes on slow or busy HDDs with hundreds of thousands of cache entries, as is common on build machines. In those cases, the cost of the cache outweighs its benefit. * guix/scripts/substitute.scm (%narinfo-expired-cache-entry-removal-delay): Reduce to 5 days. (cached-narinfo-expiration-time)[max-ttl]: Reduce to 2 days. Change-Id: Iab212f572ee9041be61716423a3c014f93fe81ed
Diffstat (limited to 'gnu/tests/security.scm')
0 files changed, 0 insertions, 0 deletions