switch sqlite to use WAL mode by default to prevent database locked errors

This commit is contained in:
Nick Sweeting 2021-02-15 13:39:03 -05:00
parent 188670eb8b
commit 611216765d
2 changed files with 5 additions and 0 deletions

View file

@ -125,10 +125,12 @@ ALLOWED_IN_OUTPUT_DIR = {
'node_modules',
'package-lock.json',
'static',
'sonic',
ARCHIVE_DIR_NAME,
SOURCES_DIR_NAME,
LOGS_DIR_NAME,
SQL_INDEX_FILENAME,
f'{SQL_INDEX_FILENAME}-wal',
JSON_INDEX_FILENAME,
HTML_INDEX_FILENAME,
ROBOTS_TXT_FILENAME,