aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2024-03-18 08:37:02 -0600
committerGitHub <noreply@github.com>2024-03-18 08:37:02 -0600
commit833bc06eb4e49d86ac8e5140f9a1cd4ef8dce9f5 (patch)
treed61a87e423cbb36cea27cd7a511612b7dbb9a6c3 /MediaBrowser.Controller/MediaEncoding/TranscodingThrottler.cs
parentbd1060b306334eee7f6e3630a75db1cf5deed507 (diff)
parent9b35b4e8f28e95fbd583f12e3192da3e8132dae2 (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.cs2
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);
}