From 7797a8184067248bacfcca4a7c9950696b0afbf6 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 13 Jan 2006 04:43:08 +0000 Subject: [PATCH] Update svn: r5742 --- src/GrampsDb/_GrampsBSDDB.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index 829c7ac9a..2b3876a8e 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -257,6 +257,7 @@ class GrampsBSDDB(GrampsDbBase): self.env = db.DBEnv() self.env.set_cachesize(0,0x2000000) # 2MB self.env.set_lk_max_locks(10000) # 10K locks + self.env.set_lk_max_objects(10000) # 10K lock objects # The DB_PRIVATE flag must go if we ever move to multi-user setup env_flags = db.DB_CREATE|db.DB_PRIVATE|\ db.DB_INIT_MPOOL|db.DB_INIT_LOCK|\ @@ -401,8 +402,6 @@ class GrampsBSDDB(GrampsDbBase): self.genderStats = GenderStats(gstats) self.db_is_open = True - print self.env.lock_stat() - print self.person_map.stat() return 1 def rebuild_secondary(self,callback=None):