* Increase Berkeley DB limits a bit more.

* Maintain the cleanup invariant in clearSubstitutes().
This commit is contained in:
Eelco Dolstra 2005-03-03 13:10:44 +00:00
parent 0107fba48e
commit 86cb3cc554
2 changed files with 26 additions and 7 deletions

View file

@ -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