Update
svn: r5738
This commit is contained in:
parent
50363c8389
commit
2595bd8104
@ -256,6 +256,7 @@ class GrampsBSDDB(GrampsDbBase):
|
|||||||
|
|
||||||
self.env = db.DBEnv()
|
self.env = db.DBEnv()
|
||||||
self.env.set_cachesize(0,0x2000000) # 2MB
|
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
|
# The DB_PRIVATE flag must go if we ever move to multi-user setup
|
||||||
env_flags = db.DB_CREATE|db.DB_PRIVATE|\
|
env_flags = db.DB_CREATE|db.DB_PRIVATE|\
|
||||||
db.DB_INIT_MPOOL|db.DB_INIT_LOCK|\
|
db.DB_INIT_MPOOL|db.DB_INIT_LOCK|\
|
||||||
|
Loading…
Reference in New Issue
Block a user