Merge pull request #138 from BinaryAlley/other/increase-sqlite-busy-timeout-to-30-seconds

Increases the SQLite busy timeout to 30 seconds
This commit is contained in:
BinaryAlley authored and GitHub committed 2026-08-09 05:21:00 -07:00
commit fbbd3320c1
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ public class Program
SqliteConnection sqliteConnection = new(context.Database.GetDbConnection().ConnectionString);
sqliteConnection.Open();
using SqliteCommand sqliteCommand = sqliteConnection.CreateCommand();
sqliteCommand.CommandText = "PRAGMA journal_mode=WAL; PRAGMA busy_timeout=10000;";
sqliteCommand.CommandText = "PRAGMA journal_mode=WAL; PRAGMA busy_timeout=30000;";
sqliteCommand.ExecuteNonQuery();
sqliteConnection.Close();
}