diff options
| author | Victor Gambier <38285114+vgambier@users.noreply.github.com> | 2022-02-14 16:33:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-14 16:33:11 +0100 |
| commit | dbf9e49258e0b0b68db6670b902cc9c2f112a439 (patch) | |
| tree | 232a016b9413f3f5e6fc0421c8d67e9d58e09211 | |
| parent | 68e7072698dafe7df1bd272df331c2ccc8134391 (diff) | |
Increase timeout for subtitle extraction to 30min (#7153)
| -rw-r--r-- | CONTRIBUTORS.md | 1 | ||||
| -rw-r--r-- | MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index f70b713de..86a8ecc82 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -151,6 +151,7 @@ - [peterspenler](https://github.com/peterspenler) - [MBR-0001](https://github.com/MBR-0001) - [jonas-resch](https://github.com/jonas-resch) + - [vgambier](https://github.com/vgambier) # Emby Contributors diff --git a/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs b/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs index 00f51d0eb..f4842d368 100644 --- a/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs +++ b/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs @@ -434,7 +434,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) { |
