mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
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:
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user