diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-02-21 02:58:30 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-02-21 02:58:30 +0100 |
| commit | b1fe28d0a6c1bbc67543fc1b5877a69f7958f8c5 (patch) | |
| tree | f75a6083ace4448fc584d195d1fbdcf9a5e9243c /Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs | |
| parent | eba859e33e7bf611e5b4d63acd4df81038154be8 (diff) | |
Use GetEncodingOptions where possible
Diffstat (limited to 'Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs b/Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs index 0925a87b5..bf0225e98 100644 --- a/Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs +++ b/Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs @@ -32,7 +32,7 @@ namespace Jellyfin.Server.Migrations.Routines public void Perform() { // Set EnableThrottling to false since it wasn't used before and may introduce issues - var encoding = _configManager.GetConfiguration<EncodingOptions>("encoding"); + var encoding = _configManager.GetEncodingOptions(); if (encoding.EnableThrottling) { _logger.LogInformation("Disabling transcoding throttling during migration"); |
