mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed: Add timeout to fingerprinting API request
This commit is contained in:
parent
5defb69eb6
commit
5b4ab75220
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue