diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-04-09 13:30:18 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-04-09 13:30:18 -0400 |
| commit | 3cb2043028875667ee1074266cc9b30eb05a9b09 (patch) | |
| tree | 93dbe2fb2983dae234a263144adb2a8b144bb642 /MediaBrowser.Api/ApiEntryPoint.cs | |
| parent | b9c656e859fe28ed6a66580d1eb5577bd50264e6 (diff) | |
added sync cpu settings
Diffstat (limited to 'MediaBrowser.Api/ApiEntryPoint.cs')
| -rw-r--r-- | MediaBrowser.Api/ApiEntryPoint.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Api/ApiEntryPoint.cs b/MediaBrowser.Api/ApiEntryPoint.cs index ed5fa5bfd..ef5191df1 100644 --- a/MediaBrowser.Api/ApiEntryPoint.cs +++ b/MediaBrowser.Api/ApiEntryPoint.cs @@ -334,6 +334,12 @@ namespace MediaBrowser.Api 1000 : 1800000; + // We can really reduce the timeout for apps that are using the newer api + if (!string.IsNullOrWhiteSpace(job.PlaySessionId) && job.Type == TranscodingJobType.Hls) + { + timerDuration = 40000; + } + if (job.KillTimer == null) { if (startTimerIfNeeded) |
