aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-lint.sh
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-04-19 19:34:34 +0100
committerChristopher Baines <mail@cbaines.net>2021-04-19 19:34:34 +0100
commit9817ca99965b338ebec431a7f2ab40f8bac4a429 (patch)
treeee0bb8faf2b47dc1536cbf159af597e05718bf88 /tests/guix-lint.sh
parent2f6cbd55b6b1d196672e13a3231bfb288521ad60 (diff)
downloadguix-stop-caching-negative-narinfo-lookups.tar
guix-stop-caching-negative-narinfo-lookups.tar.gz
substitutes: Don't cache negative lookups or transient errors.stop-caching-negative-narinfo-lookups
Caching these responses can delay users getting substitutes, since they'll have to wait at least as long as the cache TTL to fetch the substitute, even if it's available sooner. * guix/substitutes.scm (%narinfo-negative-ttl, %narinfo-transient-error-ttl): Remove variables. (cache-narinfo!): Adjust to not use the negative TTL. (fetch-narinfos): Don't cache non 200 status code responses.
Diffstat (limited to 'tests/guix-lint.sh')
0 files changed, 0 insertions, 0 deletions