aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2021-02-23 19:19:38 +0900
committerdkanada <dkanada@users.noreply.github.com>2021-02-23 19:19:38 +0900
commitbc746b4d05f440b4910751ab7ae70e81ad470892 (patch)
tree0642ed74e91511214e4d4b8a3beb40b9c7a8e7d4 /Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs
parent9caf3119257544d6fb8fd3e1f1cb2b50eba7bd39 (diff)
parent7ece3c552337340a997a75aab1520a501a673f61 (diff)
merge branch 'master' into auto-manifest
Diffstat (limited to 'Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs')
-rw-r--r--Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs2
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");