Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Decrease diff warn threshold further

Gergő Móricz8b82e116259b
diff --git a/apps/api/src/scraper/scrapeURL/transformers/diff.ts b/apps/api/src/scraper/scrapeURL/transformers/diff.ts
index 780a71f58..505480130 100644
--- a/apps/api/src/scraper/scrapeURL/transformers/diff.ts
+++ b/apps/api/src/scraper/scrapeURL/transformers/diff.ts
@@ -66,7 +66,7 @@ export async function deriveDiff(meta: Meta, document: Document): Promise<Docume
i_url: document.metadata.sourceURL ?? meta.url,
});
const end = Date.now();
- if (end - start > 300) {
+ if (end - start > 100) {
meta.logger.debug("Diffing took a while", { time: end - start, params: { i_team_id: meta.internalOptions.teamId, i_url: document.metadata.sourceURL ?? meta.url } });
}