Implement EnableThrottling migration for pre-10.5.0 to 10.5.0 or newer

This commit is contained in:
Vasily
2020-03-05 17:41:32 +03:00
parent acd67c7152
commit 9eef0e8ca0
3 changed files with 121 additions and 10 deletions

View File

@@ -182,6 +182,7 @@ namespace Jellyfin.Server
// A bit hacky to re-use service provider since ASP.NET doesn't allow a custom service collection.
appHost.ServiceProvider = host.Services;
appHost.FindParts();
appHost.TryMigrate();
try
{