use default sync=False during write_batch
This commit is contained in:
parent
e5461f6d4f
commit
c90331af98
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class LevelDB(Storage):
|
|||
self.get = self.db.get
|
||||
self.put = self.db.put
|
||||
self.iterator = self.db.iterator
|
||||
self.write_batch = partial(self.db.write_batch, transaction=True, sync=True)
|
||||
self.write_batch = partial(self.db.write_batch, transaction=True)
|
||||
|
||||
|
||||
class RocksDB(Storage):
|
||||
|
|
Loading…
Reference in a new issue