mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-17 18:12:24 +00:00
move to new System.Threading.Lock type for better performance
This commit is contained in:
@@ -12,8 +12,8 @@ namespace MediaBrowser.Controller.MediaEncoding;
|
||||
public sealed class TranscodingJob : IDisposable
|
||||
{
|
||||
private readonly ILogger<TranscodingJob> _logger;
|
||||
private readonly object _processLock = new();
|
||||
private readonly object _timerLock = new();
|
||||
private readonly Lock _processLock = new();
|
||||
private readonly Lock _timerLock = new();
|
||||
|
||||
private Timer? _killTimer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user