use default sync=False during write_batch

This commit is contained in:
Jack Robison 2021-06-16 11:43:22 -04:00
parent a2619f8c78
commit d0d6e3563b
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

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