Move waitFor check for changeTracking to types.ts refine layer

Co-Authored-By: hello@sideguide.dev <hello@sideguide.dev>
This commit is contained in:
Devin AI
2025-04-13 18:45:17 +00:00
parent 9ab2a26636
commit 8bc2f16712
2 changed files with 4 additions and 3 deletions
-3
View File
@@ -390,9 +390,6 @@ export async function scrapeURL(
options: ScrapeOptions,
internalOptions: InternalOptions,
): Promise<ScrapeUrlResponse> {
if (options.formats.includes("changeTracking") && options.waitFor < 5000) {
options.waitFor = 5000;
}
const meta = await buildMetaObject(id, url, options, internalOptions);
try {
while (true) {