Merge pull request #167 from joshuaboniface/ffmpeg-timeout

Lower the ffmpeg stop timeout duration
This commit is contained in:
Andrew Rabert 2018-12-14 22:52:39 -05:00 committed by GitHub
commit 67aa6dacb2

View File

@ -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;