mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
Use GetEncodingOptions where possible
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user