mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 23:35:25 +03: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