aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-02-28 10:12:14 +0000
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2021-02-28 10:12:14 +0000
commit80ca3da55c7d8ec9cf06a619fc895c1e427c45ff (patch)
tree95f5ddce05f6ede680b815cfe5dbf413ce6fb352 /Jellyfin.Server/Migrations/Routines/DisableTranscodingThrottling.cs
parent1d6f489f17919e557987b2616048dc8def790f43 (diff)
parentf8c9c37c29efa6d42b79d6db3aa8a69a60106765 (diff)
Merge remote-tracking branch 'upstream/master' into FixFor5280Part2
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");