diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-04-20 15:12:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-04-20 15:12:24 +0200 |
commit | 4c7cacf117e226b0bc3c99625c911b074e9d8ce8 (patch) | |
tree | 5a3ba77ee6b449d4889bf0339866936b351c7679 /gnu/packages/base.scm | |
parent | f286f716344df693c392f6bdd902db07a9d91841 (diff) | |
download | guix-patches-4c7cacf117e226b0bc3c99625c911b074e9d8ce8.tar guix-patches-4c7cacf117e226b0bc3c99625c911b074e9d8ce8.tar.gz |
substitute-binary: Remove expired cache entries once in a while.
* guix/scripts/substitute-binary.scm (%narinfo-expired-cache-entry-removal-delay):
New variable.
(obsolete?): New procedure, formerly in `lookup-narinfo'.
(lookup-narinfo): Adjust accordingly.
(remove-expired-cached-narinfos, maybe-remove-expired-cached-narinfo):
New procedures.
(guix-substitute-binary): Call `maybe-remove-expired-cached-narinfo'.
Diffstat (limited to 'gnu/packages/base.scm')
0 files changed, 0 insertions, 0 deletions