Merge pull request #167 from joshuaboniface/ffmpeg-timeout

Lower the ffmpeg stop timeout duration
pull/1154/head
Andrew Rabert 6 years ago committed by GitHub
commit 67aa6dacb2

@ -421,12 +421,15 @@ namespace MediaBrowser.Api
return; return;
} }
/*
var timerDuration = 10000; var timerDuration = 10000;
if (job.Type != TranscodingJobType.Progressive) if (job.Type != TranscodingJobType.Progressive)
{ {
timerDuration = 60000; timerDuration = 60000;
} }
*/
var timerDuration = 2000;
job.PingTimeout = timerDuration; job.PingTimeout = timerDuration;
job.LastPingDate = DateTime.UtcNow; job.LastPingDate = DateTime.UtcNow;

Loading…
Cancel
Save