mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Generalized RateLimit logic to all indexers based on indexer id
This commit is contained in:
@@ -280,6 +280,8 @@ namespace NzbDrone.Core.Indexers
|
||||
request.HttpRequest.RateLimit = RateLimit;
|
||||
}
|
||||
|
||||
request.HttpRequest.RateLimitKey = Definition.Id.ToString();
|
||||
|
||||
return new IndexerResponse(request, _httpClient.Execute(request.HttpRequest));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user