mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-10 15:50:35 +02:00
Fix logs for TranscodingThrottler not working
This commit is contained in:
parent
2d66975e56
commit
5f274beded
|
@ -655,7 +655,7 @@ namespace Jellyfin.Api.Helpers
|
|||
{
|
||||
if (EnableThrottling(state))
|
||||
{
|
||||
transcodingJob.TranscodingThrottler = new TranscodingThrottler(transcodingJob, new Logger<TranscodingThrottler>(new LoggerFactory()), _serverConfigurationManager, _fileSystem, _mediaEncoder);
|
||||
transcodingJob.TranscodingThrottler = new TranscodingThrottler(transcodingJob, _loggerFactory.CreateLogger<TranscodingThrottler>(), _serverConfigurationManager, _fileSystem, _mediaEncoder);
|
||||
transcodingJob.TranscodingThrottler.Start();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue