1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Generalized RateLimit logic to all indexers based on indexer id

This commit is contained in:
Taloth Saldono
2021-02-08 00:09:59 +01:00
parent a85979c2f6
commit d898f55660
9 changed files with 73 additions and 63 deletions
@@ -317,6 +317,7 @@ namespace NzbDrone.Core.Indexers
{
request.HttpRequest.RateLimit = RateLimit;
}
request.HttpRequest.RateLimitKey = Definition.Id.ToString();
return new IndexerResponse(request, _httpClient.Execute(request.HttpRequest));
}