Mbonea commited on
Commit
218c6c4
·
1 Parent(s): d0a3189

PRAGMA journal_mode=WAL;

Browse files
Files changed (1) hide show
  1. App/app.py +1 -0
App/app.py CHANGED
@@ -17,6 +17,7 @@ async def startup_event():
17
  finally:
18
  if not database.is_connected:
19
  await database.connect()
 
20
 
21
  await bot.start()
22
  # if SERVER_STATE.MASTER:
 
17
  finally:
18
  if not database.is_connected:
19
  await database.connect()
20
+ await database.execute("PRAGMA journal_mode=WAL;")
21
 
22
  await bot.start()
23
  # if SERVER_STATE.MASTER: