From 0e7ca07e02b243eb59fdaafd85054f5bfaeb58bf Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 23 May 2013 18:41:32 -0700 Subject: [PATCH] updated connection string params --- NzbDrone.Core/Datastore/DbFactory.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NzbDrone.Core/Datastore/DbFactory.cs b/NzbDrone.Core/Datastore/DbFactory.cs index 70259c96a..50af669b1 100644 --- a/NzbDrone.Core/Datastore/DbFactory.cs +++ b/NzbDrone.Core/Datastore/DbFactory.cs @@ -55,6 +55,8 @@ namespace NzbDrone.Core.Datastore connectionBuilder.DataSource = dbPath; connectionBuilder.CacheSize = (int)-10.Megabytes(); connectionBuilder.DateTimeKind = DateTimeKind.Utc; + connectionBuilder.JournalMode = SQLiteJournalModeEnum.Wal; + connectionBuilder.Pooling = true; return connectionBuilder.ConnectionString; }