aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/gc.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-11-15 15:07:27 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-11-15 15:07:27 +0000
commit149e27302334b6a83bfe293c15426d1a4abf958d (patch)
treec84d126884328c11112355e208314a62f85e6217 /src/libstore/gc.cc
parentbfec245efa68f010b8687c1eee8dcf909c4d1343 (diff)
* Don't need gc.hh.
Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r--src/libstore/gc.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index 53ee100f9..c0acbab38 100644
--- a/src/libstore/gc.cc
+++ b/src/libstore/gc.cc
@@ -4,7 +4,6 @@
#include "local-store.hh"
#include "db.hh"
#include "util.hh"
-#include "gc.hh"
#include <boost/shared_ptr.hpp>
@@ -27,6 +26,8 @@ static string gcLockName = "gc.lock";
static string tempRootsDir = "temproots";
static string gcRootsDir = "gcroots";
+const unsigned int defaultGcLevel = 1000;
+
/* Acquire the global GC lock. This is used to prevent new Nix
processes from starting after the temporary root files have been