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