updated connection string params

This commit is contained in:
kay.one 2013-05-23 18:41:32 -07:00
parent a85099f060
commit 0e7ca07e02
1 changed files with 2 additions and 0 deletions

View File

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