minor changes

pull/2/head
kay.one 13 years ago
parent 79b2fad6e3
commit 2601c7c1b9

@ -56,9 +56,9 @@ namespace NzbDrone.Core
{ {
BindKernel(); BindKernel();
LogConfiguration.StartDbLogging();
MigrationsHelper.Run(Connection.MainConnectionString, true); MigrationsHelper.Run(Connection.MainConnectionString, true);
LogConfiguration.StartDbLogging();
_kernel.Get<QualityProvider>().SetupDefaultProfiles(); _kernel.Get<QualityProvider>().SetupDefaultProfiles();

@ -191,12 +191,12 @@ namespace NzbDrone.Core.Providers.Jobs
{ {
do do
{ {
Tuple<Type, int> job = null;
using (NestedDiagnosticsContext.Push(Guid.NewGuid().ToString())) using (NestedDiagnosticsContext.Push(Guid.NewGuid().ToString()))
{ {
try try
{ {
Tuple<Type, int> job = null;
lock (Queue) lock (Queue)
{ {
if (Queue.Count != 0) if (Queue.Count != 0)

Loading…
Cancel
Save