From b882f1a0100c81a016a1afcc6b2ee93474945df3 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 31 Dec 2020 16:11:22 -0300 Subject: [PATCH] log checkpoint finishing for gathering information on wal/shm file bug --- lbry/wallet/database.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lbry/wallet/database.py b/lbry/wallet/database.py index fb6c33648..5ddbf3fb3 100644 --- a/lbry/wallet/database.py +++ b/lbry/wallet/database.py @@ -124,6 +124,7 @@ class AIOSQLite: def __checkpoint_and_close(conn: sqlite3.Connection): conn.execute("PRAGMA WAL_CHECKPOINT(FULL);") + log.info("DB checkpoint finished.") conn.close() await asyncio.get_event_loop().run_in_executor( self.writer_executor, __checkpoint_and_close, self.writer_connection)