From 325b601beaee962ee839e333c8d738a837751b0d Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sat, 21 Dec 2019 05:44:39 -0300 Subject: [PATCH] enable WAL --- lbry/lbry/wallet/server/db/writer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lbry/lbry/wallet/server/db/writer.py b/lbry/lbry/wallet/server/db/writer.py index fc83cd318..779ebffe0 100644 --- a/lbry/lbry/wallet/server/db/writer.py +++ b/lbry/lbry/wallet/server/db/writer.py @@ -188,6 +188,7 @@ class SQLDB: cursor.setrowtrace(lambda cursor, row: tpl(*row)) return True self.db.setexectrace(exec_factory) + self.execute(self.PRAGMAS) self.execute(self.CREATE_TABLES_QUERY) register_canonical_functions(self.db) register_trending_functions(self.db)