updated connection string params

pull/23/head
kay.one 12 years ago
parent a85099f060
commit 0e7ca07e02

@ -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;
} }

Loading…
Cancel
Save