Move where wal is set

This commit is contained in:
Natsumi
2024-10-30 14:22:24 +13:00
parent 64947e57cb
commit 01a35fa007
3 changed files with 1 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ namespace VRCX
if (!string.IsNullOrEmpty(jsonDataSource))
dataSource = jsonDataSource;
m_Connection = new SQLiteConnection($"Data Source=\"{dataSource}\";Version=3;PRAGMA locking_mode=NORMAL;PRAGMA busy_timeout=5000", true);
m_Connection = new SQLiteConnection($"Data Source=\"{dataSource}\";Version=3;PRAGMA locking_mode=NORMAL;PRAGMA busy_timeout=5000;PRAGMA journal_mode=WAL;", true);
m_Connection.Open();
}