mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-02-03 10:25:52 +00:00
fix CRAWL_PAGE_RANK_UPDATE condition
This commit is contained in:
parent
5df59661d8
commit
1249e8d29c
@ -382,10 +382,10 @@ foreach ($db->getHostPageCrawlQueue(CRAWL_PAGE_LIMIT, time() - CRAWL_PAGE_SECOND
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Update registry
|
||||
$db->updateHostPageRank($queueHostPage->hostPageId, $hostPageRank);
|
||||
// Update registry
|
||||
$db->updateHostPageRank($queueHostPage->hostPageId, $hostPageRank);
|
||||
}
|
||||
|
||||
// Update page index anyway, with the current time and http code
|
||||
$hostPagesProcessed += $db->updateHostPageCrawlQueue($queueHostPage->hostPageId, time(), $curl->getCode(), $curl->getSizeDownload());
|
||||
|
Loading…
x
Reference in New Issue
Block a user