mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-25 11:13:39 +02:00
Fixed: Increase timeout when downloading updates
This commit is contained in:
parent
b76de3987b
commit
467ce70291
@ -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…
x
Reference in New Issue
Block a user