From c6ccd56d4a58fa5add5cee51b213667cf5f40629 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 13 Jan 2006 03:08:52 +0000 Subject: [PATCH] Update svn: r5738 --- src/GrampsDb/_GrampsBSDDB.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index 01863c0e0..7e762f567 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -256,6 +256,7 @@ class GrampsBSDDB(GrampsDbBase): self.env = db.DBEnv() self.env.set_cachesize(0,0x2000000) # 2MB + self.env.set_lk_max_lockers(20) # 20 lockers # 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|\