diff options
| author | Cody Robibero <cody@robibe.ro> | 2024-03-18 08:37:02 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-18 08:37:02 -0600 |
| commit | 833bc06eb4e49d86ac8e5140f9a1cd4ef8dce9f5 (patch) | |
| tree | d61a87e423cbb36cea27cd7a511612b7dbb9a6c3 /MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs | |
| parent | bd1060b306334eee7f6e3630a75db1cf5deed507 (diff) | |
| parent | 9b35b4e8f28e95fbd583f12e3192da3e8132dae2 (diff) | |
Merge pull request #11161 from nyanmisaka/fix-segment-deletion
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs b/MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs index 813f13eae..b95e6ed51 100644 --- a/MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs +++ b/MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs @@ -115,7 +115,7 @@ public class TranscodingThrottler : IDisposable var options = GetOptions(); - if (options.EnableThrottling && IsThrottleAllowed(_job, options.ThrottleDelaySeconds)) + if (options.EnableThrottling && IsThrottleAllowed(_job, Math.Max(options.ThrottleDelaySeconds, 60))) { await PauseTranscoding().ConfigureAwait(false); } |
