about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-13T14·28-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-13T14·28-0400
commit6c4ac299173e3b9772c96bef1e6463b22dcd0227 (patch)
treea7d4227322b80e9dbbdb7843680b20a56e57b20c
parente56f71edafce9c60fd5e0c3ed93771b7d911d334 (diff)
Disable auto store optimisation for now
I've seen operations like "nix-store --import" take much longer on one
system.  So default to off until I've investigated this a bit further.
-rw-r--r--src/libstore/globals.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index c75ebdd0e36b..7e2624bbf712 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -43,7 +43,7 @@ Settings::Settings()
     checkRootReachability = false;
     gcKeepOutputs = false;
     gcKeepDerivations = true;
-    autoOptimiseStore = true;
+    autoOptimiseStore = false;
     envKeepDerivations = false;
 }