diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-13T20·39-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-13T20·39-0400 |
commit | 47ae3ce2ca1dc93e2539a04c690c18f4747c8e8d (patch) | |
tree | 4435324693ebf942c610581613c23be6be0e0352 /perl | |
parent | e03a8a1c923365ca24ea63ac43d3e09f7f9fb3d8 (diff) |
Put a time-to-live on negative binary cache lookups
Negative lookups are purged from the DB after a day, at most once per day. However, for non-"have" lookups (e.g. all except "nix-env -qas"), negative lookups are ignored after one hour. This is to ensure that you don't have to wait a day for an operation like "nix-env -i" to start using new binaries in the cache. Should probably make this configurable.
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions