enable WAL

This commit is contained in:
Victor Shyba 2018-10-10 17:23:50 -03:00 committed by Lex Berezhny
parent 4b9c3e8409
commit 87c210952b

View file

@ -221,7 +221,12 @@ class BaseDatabase(SQLiteMixin):
create index if not exists txi_txoid_idx on txi (txoid);
"""
PRAGMAS = """
pragma journal_mode=WAL;
"""
CREATE_TABLES_QUERY = (
PRAGMAS +
CREATE_TX_TABLE +
CREATE_PUBKEY_ADDRESS_TABLE +
CREATE_PUBKEY_ADDRESS_INDEX +