forked from LBRYCommunity/lbry-sdk
use default sync=False during write_batch
This commit is contained in:
parent
a2619f8c78
commit
d0d6e3563b
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