Get 1000 releases from indexers

This commit is contained in:
Mark McDowall 2014-01-15 19:43:49 -08:00
parent 6cbc8687de
commit 442ab2b7c4
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ namespace NzbDrone.Core.Test.IndexerTests
var indexer = WithIndexer(true, 100);
Subject.Fetch(indexer, new SeasonSearchCriteria { Series = _series, SceneTitle = _series.Title });
Mocker.GetMock<IHttpProvider>().Verify(v => v.DownloadString(It.IsAny<String>()), Times.Exactly(11));
Mocker.GetMock<IHttpProvider>().Verify(v => v.DownloadString(It.IsAny<String>()), Times.Exactly(10));
}
}

View File

@ -61,7 +61,7 @@ namespace NzbDrone.Core.Indexers
_logger.Info("{0} offset {1}. Found {2}", indexer, searchCriteria, result.Count);
if (result.Count > 90 &&
offset < 1000 &&
offset < 900 &&
indexer.SupportsPaging)
{
result.AddRange(Fetch(indexer, searchCriteria, offset + 100));