diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-03-03T13·10+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-03-03T13·10+0000 |
commit | 86cb3cc55468a9e83e3646acedfaedb6a0253b05 (patch) | |
tree | 6f85520749cbe87d28436b0aaf93ac7f8b31c6a7 /src/libstore/db.cc | |
parent | 0107fba48e9466855af2ed8fc84edfec2e0de1ee (diff) |
* Increase Berkeley DB limits a bit more.
* Maintain the cleanup invariant in clearSubstitutes().
Diffstat (limited to 'src/libstore/db.cc')
-rw-r--r-- | src/libstore/db.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/db.cc b/src/libstore/db.cc index 82211bd1dee8..6740d6865ab6 100644 --- a/src/libstore/db.cc +++ b/src/libstore/db.cc @@ -194,9 +194,9 @@ void Database::open(const string & path) number, then run db_recover on the database to remove the existing DB environment (since changes only take effect on new environments). */ - env->set_lk_max_locks(4000); - env->set_lk_max_lockers(4000); - env->set_lk_max_objects(4000); + env->set_lk_max_locks(10000); + env->set_lk_max_lockers(10000); + env->set_lk_max_objects(10000); env->set_lk_detect(DB_LOCK_DEFAULT); /* Dangerous, probably, but from the docs it *seems* that BDB |