Still write to log synchronously, don't flush

svn: r16449
This commit is contained in:
Benny Malengier 2011-01-23 21:54:56 +00:00
parent abbc3b98db
commit 4e261e9bf8

View File

@ -418,7 +418,6 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
pass
raise DbEnvironmentError(msg)
# Set not to flush to disk synchronous
self.env.set_flags(db.DB_TXN_NOSYNC, 1)
self.env.set_flags(db.DB_TXN_WRITE_NOSYNC, 1)
self.env.txn_checkpoint()