use default sync=False during write_batch

This commit is contained in:
Jack Robison 2021-06-16 11:43:22 -04:00 committed by Victor Shyba
parent e5461f6d4f
commit c90331af98

View file

@ -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):