Kaydet (Commit) bbb0fe3a authored tarafından Eray Özkural's avatar Eray Özkural

4MB is enough maybe less

üst c2b7b9f3
......@@ -80,7 +80,7 @@ def init_dbenv(write=False, writeversion=False):
db.DB_INIT_LOG | # logging subsystem
db.DB_RECOVER | # run normal recovery
db.DB_CREATE) # allow db to create files
ctx.dbenv.set_cachesize(0, 32*1024*1024)
ctx.dbenv.set_cachesize(0, 4*1024*1024)
ctx.dbenv.open(pisi.context.config.db_dir(), flags)
ctx.dbenv.set_flags(db.DB_LOG_AUTOREMOVE, 1) # clear inactive logs automatically
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment