From c90331af987ae2a51f9475d4ae0a69eee3aae092 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Wed, 16 Jun 2021 11:43:22 -0400 Subject: [PATCH] use default sync=False during write_batch --- lbry/wallet/server/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/wallet/server/storage.py b/lbry/wallet/server/storage.py index f22d1c2f4..89467be06 100644 --- a/lbry/wallet/server/storage.py +++ b/lbry/wallet/server/storage.py @@ -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):