Fixed: Download limit check was using the query limit instead of the grab limit.

pull/802/head
Zippy79 3 years ago committed by bakerboy448
parent 7388655e6d
commit c46ed33544

@ -29,7 +29,7 @@ namespace NzbDrone.Core.Indexers
if (indexer.Id > 0 && ((IIndexerSettings)indexer.Settings).BaseSettings.GrabLimit.HasValue)
{
var grabCount = _historyService.CountSince(indexer.Id, DateTime.Now.AddHours(-24), new List<HistoryEventType> { HistoryEventType.ReleaseGrabbed });
var grabLimit = ((IIndexerSettings)indexer.Settings).BaseSettings.QueryLimit;
var grabLimit = ((IIndexerSettings)indexer.Settings).BaseSettings.GrabLimit;
if (grabCount > grabLimit)
{

Loading…
Cancel
Save