mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Merge pull request #736 from Bond-009/startasync
Start startup tasks async
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user