fix(scrapeURL): increase timeToRun

This commit is contained in:
Gergő Móricz 2024-12-17 13:21:24 +01:00
parent 47b968fede
commit 654d6c6e0b

View File

@ -204,7 +204,7 @@ async function scrapeURLLoop(meta: Meta): Promise<ScrapeUrlResponse> {
let result: EngineScrapeResultWithContext | null = null;
const timeToRun = meta.options.timeout !== undefined
? Math.round(meta.options.timeout / Math.min(fallbackList.length, 3))
? Math.round(meta.options.timeout / Math.min(fallbackList.length, 2))
: undefined
for (const { engine, unsupportedFeatures } of fallbackList) {