|
|
|
@ -35,7 +35,7 @@ namespace NzbDrone.Core.Datastore
|
|
|
|
|
var connectionBuilder = new SQLiteConnectionStringBuilder();
|
|
|
|
|
|
|
|
|
|
connectionBuilder.DataSource = dbPath;
|
|
|
|
|
connectionBuilder.CacheSize = (int)-10.Megabytes();
|
|
|
|
|
connectionBuilder.CacheSize = (int)-20000;
|
|
|
|
|
connectionBuilder.DateTimeKind = DateTimeKind.Utc;
|
|
|
|
|
connectionBuilder.JournalMode = OsInfo.IsOsx ? SQLiteJournalModeEnum.Truncate : SQLiteJournalModeEnum.Wal;
|
|
|
|
|
connectionBuilder.Pooling = true;
|
|
|
|
|