fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 6942f0d03b - Show all commits

View file

@ -1073,7 +1073,7 @@ export class KBService implements IGBKBService {
page.setDefaultTimeout(15000); page.setDefaultTimeout(15000);
page.setCacheEnabled(false); page.setCacheEnabled(false);
const maxDepth = 2; // Maximum depth of recursion const maxDepth = 1; // Maximum depth of recursion
const visited = new Set<string>(); const visited = new Set<string>();
files = files.concat(await this.crawl(min, website, visited, 0, maxDepth, page, websiteIgnoreUrls)); files = files.concat(await this.crawl(min, website, visited, 0, maxDepth, page, websiteIgnoreUrls));