Update index.ts

This commit is contained in:
Nicolas 2024-07-23 15:15:56 -04:00
parent 252bc09ee2
commit f0b07b509b
1 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ export class WebScraperDataProvider {
documents: Document[],
links: string[]
): Promise<Document[]> {
await this.setCachedDocuments(documents, links);
// await this.setCachedDocuments(documents, links);
documents = this.removeChildLinks(documents);
return documents.splice(0, this.limit);
}
@ -451,7 +451,7 @@ export class WebScraperDataProvider {
...document,
childrenLinks: childrenLinks || [],
}),
60 * 60 * 24 * 10
60 * 60
); // 10 days
}
}