about summary refs log tree commit diff
path: root/src/nix-worker/nix-worker.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-11-20T17·12+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-11-20T17·12+0000
commit8824d60fe549e2fc9b5a852fc1b967eca241ea77 (patch)
treebf0f96064f5b77dd11bdcf0cf9bee58c03d3bda5 /src/nix-worker/nix-worker.cc
parent997db91e07882f0555e224a2687189a362567577 (diff)
* Remove the --use-atime / --max-atime garbage collector flags. Many
  (Linux) machines no longer maintain the atime because it's too
  expensive, and on the machines where --use-atime is useful (like the
  buildfarm), reading the atimes on the entire Nix store takes way too
  much time to make it practical.

Diffstat (limited to 'src/nix-worker/nix-worker.cc')
-rw-r--r--src/nix-worker/nix-worker.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc
index 109e3b7b60..bd2209c6d7 100644
--- a/src/nix-worker/nix-worker.cc
+++ b/src/nix-worker/nix-worker.cc
@@ -464,8 +464,9 @@ static void performOp(unsigned int clientVersion,
         options.maxFreed = readLongLong(from);
         options.maxLinks = readInt(from);
         if (GET_PROTOCOL_MINOR(clientVersion) >= 5) {
-            options.useAtime = readInt(from);
-            options.maxAtime = readInt(from);
+            /* removed options */
+            readInt(from);
+            readInt(from);
         }
 
         GCResults results;