svn: r5739
This commit is contained in:
Alex Roitman 2006-01-13 03:18:27 +00:00
parent c6ccd56d4a
commit d54060e33f

View File

@ -256,7 +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 self.env.set_lk_max_lockers(200) # 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|\