Increase timeout for subtitle extraction to 30min (#7153)

This commit is contained in:
Victor Gambier 2022-02-14 16:33:11 +01:00 committed by GitHub
parent 68e7072698
commit dbf9e49258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -151,6 +151,7 @@
- [peterspenler](https://github.com/peterspenler) - [peterspenler](https://github.com/peterspenler)
- [MBR-0001](https://github.com/MBR-0001) - [MBR-0001](https://github.com/MBR-0001)
- [jonas-resch](https://github.com/jonas-resch) - [jonas-resch](https://github.com/jonas-resch)
- [vgambier](https://github.com/vgambier)
# Emby Contributors # Emby Contributors

View File

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