diff options
author | Christopher Baines <mail@cbaines.net> | 2024-03-24 09:30:06 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-03-25 14:00:41 +0000 |
commit | a1b49b3b45e5484cb93419be3711b6ab85495bee (patch) | |
tree | 973269e542b4e92705ca19fae2360b2eeec5cf11 /nginx | |
parent | a865c013ddc5ab7a20dfef75cb3a776ea9ccfe16 (diff) | |
download | nar-herder-a1b49b3b45e5484cb93419be3711b6ab85495bee.tar nar-herder-a1b49b3b45e5484cb93419be3711b6ab85495bee.tar.gz |
Rework the cached compressions system
The initial implementation was flawed since guix assumes that any
compression mentioned in the narinfo will be available for the
lifetime of the narinfo, and the nar-herder was deleting cached
compressions without taking this in to account.
This commit adds support for scheduling the removal of a cached
compression and this schedule is used to inform the TTLs for narinfos.
I'm unsure of the value in caching narinfos so maybe some of this
complexity can be removed in the future.
Diffstat (limited to 'nginx')
0 files changed, 0 insertions, 0 deletions