about summary refs log tree commit diff
path: root/src/libstore/gc.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-08-30T14·11+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-08-30T14·11+0000
commit20acd43c25a388f5c31c2ee601f1cac88cf12f7b (patch)
tree6c88cf9b482dddff19926fdce990e516bc8f2751 /src/libstore/gc.cc
parent766f7084188d8c0dd0595bbbfc50fbc4f9d67a50 (diff)
* Disable the GC reachability check for now (when creating new roots),
  as it's hopelessly inefficient.

Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r--src/libstore/gc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index 87e0a05bc9ec..b94442923158 100644
--- a/src/libstore/gc.cc
+++ b/src/libstore/gc.cc
@@ -127,7 +127,7 @@ Path addPermRoot(const Path & _storePath, const Path & _gcRoot,
        Instead of reading all the roots, it would be more efficient to
        check if the root is in a directory in or linked from the
        gcroots directory. */
-    if (queryBoolSetting("gc-check-reachability", true)) {
+    if (queryBoolSetting("gc-check-reachability", false)) {
         Roots roots = store->findRoots();
         if (roots.find(gcRoot) == roots.end())
             printMsg(lvlError,