fix(scrapeURL): increase timeToRun
This commit is contained in:
@@ -204,7 +204,7 @@ async function scrapeURLLoop(meta: Meta): Promise<ScrapeUrlResponse> {
|
|||||||
let result: EngineScrapeResultWithContext | null = null;
|
let result: EngineScrapeResultWithContext | null = null;
|
||||||
|
|
||||||
const timeToRun = meta.options.timeout !== undefined
|
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
|
: undefined
|
||||||
|
|
||||||
for (const { engine, unsupportedFeatures } of fallbackList) {
|
for (const { engine, unsupportedFeatures } of fallbackList) {
|
||||||
|
|||||||
Reference in New Issue
Block a user