Still write to log synchronously, don't flush
svn: r16449
This commit is contained in:
parent
abbc3b98db
commit
4e261e9bf8
@ -418,7 +418,6 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
|||||||
pass
|
pass
|
||||||
raise DbEnvironmentError(msg)
|
raise DbEnvironmentError(msg)
|
||||||
# Set not to flush to disk synchronous
|
# 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.set_flags(db.DB_TXN_WRITE_NOSYNC, 1)
|
||||||
|
|
||||||
self.env.txn_checkpoint()
|
self.env.txn_checkpoint()
|
||||||
|
Loading…
Reference in New Issue
Block a user