mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-03 13:45:02 +00:00
Fixed: Increase timeout when downloading updates
This commit is contained in:
parent
b76de3987b
commit
467ce70291
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ namespace NzbDrone.Common.Http
|
|||
var request = new HttpRequest(url);
|
||||
request.AllowAutoRedirect = true;
|
||||
request.ResponseStream = fileStream;
|
||||
request.RequestTimeout = TimeSpan.FromSeconds(300);
|
||||
var response = await GetAsync(request);
|
||||
|
||||
if (response.Headers.ContentType != null && response.Headers.ContentType.Contains("text/html"))
|
||||
|
|
Loading…
Reference in a new issue