mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 21:25:59 +08:00
adjust diff warn threshold
This commit is contained in:
parent
0e7f2c8599
commit
e4f9a92e98
@ -66,7 +66,7 @@ export async function deriveDiff(meta: Meta, document: Document): Promise<Docume
|
|||||||
i_url: document.metadata.sourceURL ?? meta.url,
|
i_url: document.metadata.sourceURL ?? meta.url,
|
||||||
});
|
});
|
||||||
const end = Date.now();
|
const end = Date.now();
|
||||||
if (end - start > 1000) {
|
if (end - start > 300) {
|
||||||
meta.logger.debug("Diffing took a while", { time: end - start, params: { i_team_id: meta.internalOptions.teamId, i_url: document.metadata.sourceURL ?? meta.url } });
|
meta.logger.debug("Diffing took a while", { time: end - start, params: { i_team_id: meta.internalOptions.teamId, i_url: document.metadata.sourceURL ?? meta.url } });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user