Fixed: (Indexers) Rate limit auth requests

pull/1300/head
Qstick 2 years ago
parent e3480d1143
commit 8656d2784b

@ -493,6 +493,11 @@ namespace NzbDrone.Core.Indexers
{
request.Encoding = Encoding;
if (request.RateLimit < RateLimit)
{
request.RateLimit = RateLimit;
}
var response = await _httpClient.ExecuteProxiedAsync(request, Definition);
_eventAggregator.PublishEvent(new IndexerAuthEvent(Definition.Id, !response.HasHttpError, response.ElapsedTime));

Loading…
Cancel
Save