mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-29 14:38:04 +00:00
Merge pull request #167 from joshuaboniface/ffmpeg-timeout
Lower the ffmpeg stop timeout duration
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user