From c33d2f042f5e5461cb9f2dd6b8133a2e2f761c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Thu, 10 Apr 2025 12:21:52 +0200 Subject: [PATCH] fix --- apps/api/src/scraper/scrapeURL/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/scraper/scrapeURL/index.ts b/apps/api/src/scraper/scrapeURL/index.ts index caafa448..cedd275e 100644 --- a/apps/api/src/scraper/scrapeURL/index.ts +++ b/apps/api/src/scraper/scrapeURL/index.ts @@ -231,7 +231,7 @@ async function scrapeURLLoop(meta: Meta): Promise { meta.options.timeout !== undefined ? Math.round(meta.options.timeout / Math.min(fallbackList.length, 2)) : (!meta.options.actions && !meta.options.jsonOptions && !meta.options.extract) - ? 120000 + ? Math.round(120000 / Math.min(fallbackList.length, 2)) : undefined; for (const { engine, unsupportedFeatures } of fallbackList) {