Skip to content

The Free Software Media System - Server Backend & API

Lower the ffmpeg stop timeout duration

Joshua Bonifacee5531c5c2525
diff --git a/MediaBrowser.Api/ApiEntryPoint.cs b/MediaBrowser.Api/ApiEntryPoint.cs
index 5aa803b9b6..ef74aecb2a 100644
--- a/MediaBrowser.Api/ApiEntryPoint.cs
+++ b/MediaBrowser.Api/ApiEntryPoint.cs
@@ -421,12 +421,15 @@ namespace MediaBrowser.Api
return;
}
+ /*
var timerDuration = 10000;
if (job.Type != TranscodingJobType.Progressive)
{
timerDuration = 60000;
}
+ */
+ var timerDuration = 2000;
job.PingTimeout = timerDuration;
job.LastPingDate = DateTime.UtcNow;