Raise transcoding kill timeout.

The Chromecast client only pings every 10 seconds, so having a 10 second timeout will result in spurious killing any time there is slight deviation in the polling. Set to a much safer value so that transcoding will only get killed if there is a serious hang somewhere.
pull/11643/head
Kevin Cox 1 month ago
parent 69d4886697
commit b80edd875c
No known key found for this signature in database
GPG Key ID: 9BB92CC1552E99AA

@ -147,14 +147,7 @@ public sealed class TranscodeManager : ITranscodeManager, IDisposable
return;
}
var timerDuration = 10000;
if (job.Type != TranscodingJobType.Progressive)
{
timerDuration = 60000;
}
job.PingTimeout = timerDuration;
job.PingTimeout = 60_000;
job.LastPingDate = DateTime.UtcNow;
// Don't start the timer for playback checkins with progressive streaming

Loading…
Cancel
Save