Fixed: Add timeout to fingerprinting API request

pull/868/head
ta264 6 years ago
parent 5defb69eb6
commit 5b4ab75220

@ -362,6 +362,7 @@ namespace NzbDrone.Core.Parser
httpRequest.Headers.Add("Content-Encoding", "gzip");
httpRequest.Headers.ContentType = "application/x-www-form-urlencoded";
httpRequest.SuppressHttpError = true;
httpRequest.RequestTimeout = TimeSpan.FromSeconds(5);
HttpResponse<LookupResponse> httpResponse;

Loading…
Cancel
Save