Merge pull request #736 from Bond-009/startasync

Start startup tasks async
This commit is contained in:
Joshua M. Boniface
2019-02-03 22:23:54 -05:00
committed by GitHub
25 changed files with 87 additions and 61 deletions

View File

@@ -118,8 +118,6 @@ namespace Jellyfin.Server
appHost.ImageProcessor.ImageEncoder = GetImageEncoder(fileSystem, appPaths, appHost.LocalizationManager);
_logger.LogInformation("Running startup tasks");
await appHost.RunStartupTasks();
// TODO: read input for a stop command
@@ -133,8 +131,6 @@ namespace Jellyfin.Server
{
// Don't throw on cancellation
}
_logger.LogInformation("Disposing app host");
}
if (_restartOnShutdown)