mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
add instructions to wipe the substituter lookup cache (#9498)
* add instructions to wipe the substituter lookup cache
This commit is contained in:
parent
9d87f25673
commit
e37d502895
@ -793,10 +793,17 @@ public:
|
||||
Setting<unsigned int> ttlNegativeNarInfoCache{
|
||||
this, 3600, "narinfo-cache-negative-ttl",
|
||||
R"(
|
||||
The TTL in seconds for negative lookups. If a store path is queried
|
||||
from a substituter but was not found, there will be a negative
|
||||
lookup cached in the local disk cache database for the specified
|
||||
duration.
|
||||
The TTL in seconds for negative lookups.
|
||||
If a store path is queried from a [substituter](#conf-substituters) but was not found, there will be a negative lookup cached in the local disk cache database for the specified duration.
|
||||
|
||||
Set to `0` to force updating the lookup cache.
|
||||
|
||||
To wipe the lookup cache completely:
|
||||
|
||||
```shell-session
|
||||
$ rm $HOME/.cache/nix/binary-cache-v*.sqlite*
|
||||
# rm /root/.cache/nix/binary-cache-v*.sqlite*
|
||||
```
|
||||
)"};
|
||||
|
||||
Setting<unsigned int> ttlPositiveNarInfoCache{
|
||||
|
Loading…
Reference in New Issue
Block a user