diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-08-30T14·11+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-08-30T14·11+0000 |
commit | 20acd43c25a388f5c31c2ee601f1cac88cf12f7b (patch) | |
tree | 6c88cf9b482dddff19926fdce990e516bc8f2751 /src/libstore | |
parent | 766f7084188d8c0dd0595bbbfc50fbc4f9d67a50 (diff) |
* Disable the GC reachability check for now (when creating new roots),
as it's hopelessly inefficient.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/gc.cc | 2 |
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, |