update migration

This commit is contained in:
Luke Pulverenti
2016-02-03 17:42:33 -05:00
parent 001c3c99b3
commit dff32c2404
4 changed files with 15 additions and 8 deletions

View File

@@ -328,6 +328,8 @@ namespace MediaBrowser.Server.Startup.Common
Logger.Info("Core startup complete");
HttpServer.GlobalResponse = null;
PerformPostInitMigrations();
Parallel.ForEach(GetExports<IServerEntryPoint>(), entryPoint =>
{
try
@@ -341,8 +343,6 @@ namespace MediaBrowser.Server.Startup.Common
});
LogManager.RemoveConsoleOutput();
PerformPostInitMigrations();
}
public override Task Init(IProgress<double> progress)

View File

@@ -25,7 +25,7 @@ namespace MediaBrowser.Server.Startup.Common.Migrations
Task.Run(async () =>
{
await Task.Delay(1000).ConfigureAwait(false);
await Task.Delay(100).ConfigureAwait(false);
_taskManager.Execute<CleanDatabaseScheduledTask>();
});