mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 20:16:03 +08:00
feat(sitemap): change sitemap logging
This commit is contained in:
parent
d3518e85a8
commit
6557365149
@ -632,6 +632,10 @@ export class WebCrawler {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.sitemapsHit.size >= 20) {
|
||||
this.logger.warn("Sitemap limit hit!", { crawlId: this.jobId, url: this.baseUrl });
|
||||
}
|
||||
|
||||
return sitemapCount;
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,6 @@ export async function getLinksFromSitemap(
|
||||
sitemapsHit: Set<string>,
|
||||
): Promise<number> {
|
||||
if (sitemapsHit.size >= 20) {
|
||||
logger.warn("Sitemap limit hit, not hitting this one.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user