Skip to content

Commit

Permalink
Use WAL mode with SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdtrekkie committed Jun 21, 2024
1 parent c062d4a commit a8d117e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ internal class modDatabase
public static void Load()
{
conn = new SQLiteConnection(Properties.Settings.Default.Database_FileURI);
conn.ExecuteScalar<int>("PRAGMA journal_mode = WAL;");
conn.CreateTable<Config>();
conn.CreateTable<LocalQueue>();
}
Expand Down

0 comments on commit a8d117e

Please sign in to comment.