make sure WAL mode is active
This commit is contained in:
parent
37e8d53b78
commit
8b5cbdf903
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ async def open_connection_pool() -> None:
|
|||
db = shared_connection()
|
||||
await db.connect()
|
||||
|
||||
await db.execute(sa.text("PRAGMA journal_mode=WAL"))
|
||||
|
||||
await apply_db_patches(db)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue