mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #167 from joshuaboniface/ffmpeg-timeout
Lower the ffmpeg stop timeout duration
This commit is contained in:
commit
67aa6dacb2
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user