Merge pull request #168 from joshuaboniface/ffmpeg-timeout

Up the timerDuration back to 10s, 2s is too low
This commit is contained in:
Andrew Rabert 2018-12-14 23:28:12 -05:00 committed by GitHub
commit 72619ddc5a

View File

@ -421,15 +421,14 @@ 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;