瀏覽代碼

Increased subtitle extraction timeout to 30 min

MagicGreenDragon 2 年之前
父節點
當前提交
ffdc3a6734
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      CONTRIBUTORS.md
  2. 1 1
      MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs

+ 1 - 0
CONTRIBUTORS.md

@@ -157,6 +157,7 @@
  - [jonas-resch](https://github.com/jonas-resch)
  - [vgambier](https://github.com/vgambier)
  - [MinecraftPlaye](https://github.com/MinecraftPlaye)
+ - [RealGreenDragon](https://github.com/RealGreenDragon)
 
 # Emby Contributors
 

+ 1 - 1
MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs

@@ -605,7 +605,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
                     throw;
                 }
 
-                var ranToCompletion = await process.WaitForExitAsync(TimeSpan.FromMinutes(5)).ConfigureAwait(false);
+                var ranToCompletion = await process.WaitForExitAsync(TimeSpan.FromMinutes(30)).ConfigureAwait(false);
 
                 if (!ranToCompletion)
                 {