From 8656d2784b231bdb15eedf876eb1524781079c71 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 7 Jan 2023 12:50:14 -0600 Subject: [PATCH] Fixed: (Indexers) Rate limit auth requests --- src/NzbDrone.Core/Indexers/HttpIndexerBase.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs b/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs index e966ec3ba..8e38febef 100644 --- a/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs +++ b/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs @@ -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));