mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 17:28:59 +08:00
fix(scrapeURL): increase timeToRun
This commit is contained in:
parent
47b968fede
commit
654d6c6e0b
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user