aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ApiEntryPoint.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-09 13:30:18 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-04-09 13:30:18 -0400
commit3cb2043028875667ee1074266cc9b30eb05a9b09 (patch)
tree93dbe2fb2983dae234a263144adb2a8b144bb642 /MediaBrowser.Api/ApiEntryPoint.cs
parentb9c656e859fe28ed6a66580d1eb5577bd50264e6 (diff)
added sync cpu settings
Diffstat (limited to 'MediaBrowser.Api/ApiEntryPoint.cs')
-rw-r--r--MediaBrowser.Api/ApiEntryPoint.cs6
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)