ignore maxtocrawl for bulk jobs too

This commit is contained in:
Matt Wells 2014-02-16 22:24:17 -08:00
parent a4deb7ff08
commit f942183104

View File

@ -5437,7 +5437,7 @@ void SpiderLoop::spiderDoledUrls ( ) {
// hit pages to crawl max?
if ( cr->m_maxToCrawl > 0 &&
cr->m_isCustomCrawl &&
cr->m_isCustomCrawl == 1 && // bulk jobs exempt!
cr->m_globalCrawlInfo.m_pageDownloadSuccessesThisRound >=
cr->m_maxToCrawl ) {
// now once all hosts have no urls ready to spider