From d6b62e738a60565a559569dcd11dfc6f81bf09c9 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 1 Sep 2023 03:49:24 +0300 Subject: [PATCH] Fixed: Increase timeout when downloading updates (cherry picked from commit 467ce70291c793042ffb3ed8942c42e7bc1424d5) --- src/NzbDrone.Common/Http/HttpClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Common/Http/HttpClient.cs b/src/NzbDrone.Common/Http/HttpClient.cs index a34f49aa5..fc06d43a2 100644 --- a/src/NzbDrone.Common/Http/HttpClient.cs +++ b/src/NzbDrone.Common/Http/HttpClient.cs @@ -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"))