From 2601c7c1b9d3d13ee64e3c633b15dc1ca4e89c4f Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 6 Aug 2011 22:49:07 -0700 Subject: [PATCH] minor changes --- NzbDrone.Core/CentralDispatch.cs | 4 ++-- NzbDrone.Core/Providers/Jobs/JobProvider.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NzbDrone.Core/CentralDispatch.cs b/NzbDrone.Core/CentralDispatch.cs index 6d9f15f4b..102f7f667 100644 --- a/NzbDrone.Core/CentralDispatch.cs +++ b/NzbDrone.Core/CentralDispatch.cs @@ -56,9 +56,9 @@ public static void InitializeApp() { BindKernel(); - LogConfiguration.StartDbLogging(); - MigrationsHelper.Run(Connection.MainConnectionString, true); + + LogConfiguration.StartDbLogging(); _kernel.Get().SetupDefaultProfiles(); diff --git a/NzbDrone.Core/Providers/Jobs/JobProvider.cs b/NzbDrone.Core/Providers/Jobs/JobProvider.cs index d17aab47a..dc9573285 100644 --- a/NzbDrone.Core/Providers/Jobs/JobProvider.cs +++ b/NzbDrone.Core/Providers/Jobs/JobProvider.cs @@ -191,12 +191,12 @@ private void ProcessQueue() { do { - Tuple job = null; - using (NestedDiagnosticsContext.Push(Guid.NewGuid().ToString())) { try { + Tuple job = null; + lock (Queue) { if (Queue.Count != 0)