mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
update default image extraction timeouts
This commit is contained in:
parent
e4357a17f7
commit
064ea27994
2 changed files with 3 additions and 2 deletions
|
|
@ -931,8 +931,9 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
var timeoutMs = ConfigurationManager.Configuration.ImageExtractionTimeoutMs;
|
||||
if (timeoutMs <= 0)
|
||||
{
|
||||
timeoutMs = 10000;
|
||||
timeoutMs = Environment.Is64BitOperatingSystem ? (Environment.ProcessorCount > 2 ? 14000 : 20000) : 40000;
|
||||
}
|
||||
|
||||
ranToCompletion = process.WaitForExit(timeoutMs);
|
||||
|
||||
if (!ranToCompletion)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue