diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-07-21 17:02:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-07-21 17:03:25 +0200 |
commit | c95644f0172ba87822ee7ecee3d2743ebd2c84bc (patch) | |
tree | c5dc31e4fabb6f1ab9c39085efb62984d46159d6 /doc | |
parent | deac674ab4015e52fb6fb883f578e5c5891291a4 (diff) | |
download | guix-c95644f0172ba87822ee7ecee3d2743ebd2c84bc.tar.gz guix-c95644f0172ba87822ee7ecee3d2743ebd2c84bc.zip |
publish: Make the cache eviction policy less aggressive.
Suggested by Mark H Weaver <mhw@netris.org>.
* guix/scripts/publish.scm (nar-expiration-time): New procedure.
(render-narinfo/cached): Use it as the #:entry-expiration passed to
'maybe-remove-expired-cache-entries'.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index dbdd9b5ff5..875c1ffa26 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6960,7 +6960,8 @@ guarantee that the store items it provides will indeed remain available for as long as @var{ttl}. Additionally, when @option{--cache} is used, cached entries that have -not been accessed for @var{ttl} may be deleted. +not been accessed for @var{ttl} and that no longer have a corresponding +item in the store, may be deleted. @item --nar-path=@var{path} Use @var{path} as the prefix for the URLs of ``nar'' files |