mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 02:56:54 +01:00
update migration
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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>();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user