1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

updated connection string params

This commit is contained in:
kay.one 2013-05-23 18:41:32 -07:00
parent a85099f060
commit 0e7ca07e02

View File

@ -55,6 +55,8 @@ private string GetConnectionString(string dbPath)
connectionBuilder.DataSource = dbPath;
connectionBuilder.CacheSize = (int)-10.Megabytes();
connectionBuilder.DateTimeKind = DateTimeKind.Utc;
connectionBuilder.JournalMode = SQLiteJournalModeEnum.Wal;
connectionBuilder.Pooling = true;
return connectionBuilder.ConnectionString;
}