1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-01 04:18:00 +02:00

nix-daemon: Disable path info cache

This is useless because the client also caches path info, and can
cause problems for long-running clients like hydra-queue-runner
(i.e. it may return cached info about paths that have been
garbage-collected).
This commit is contained in:
Eelco Dolstra 2017-04-06 14:30:31 +02:00
parent 8decb07c31
commit 256940fc48
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
5 changed files with 17 additions and 5 deletions

View file

@ -33,6 +33,7 @@ public:
Sync() { }
Sync(const T & data) : data(data) { }
Sync(T && data) noexcept : data(std::move(data)) { }
class Lock
{