mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 19:06:12 +08:00
feat(scrapeURL): reintroduce default timeout
This commit is contained in:
parent
7bb5643028
commit
5cb33ee03f
@ -230,7 +230,9 @@ async function scrapeURLLoop(meta: Meta): Promise<ScrapeUrlResponse> {
|
||||
const timeToRun =
|
||||
meta.options.timeout !== undefined
|
||||
? Math.round(meta.options.timeout / Math.min(fallbackList.length, 2))
|
||||
: undefined;
|
||||
: (!meta.options.actions && !meta.options.jsonOptions && !meta.options.extract)
|
||||
? 120000
|
||||
: undefined;
|
||||
|
||||
for (const { engine, unsupportedFeatures } of fallbackList) {
|
||||
meta.internalOptions.abort?.throwIfAborted();
|
||||
|
Loading…
x
Reference in New Issue
Block a user