mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-06-04 11:24:40 +08:00
Update types.ts
This commit is contained in:
parent
bc787de62a
commit
6b313ad0b0
@ -68,7 +68,7 @@ export const extractOptions = z
|
|||||||
export type ExtractOptions = z.infer<typeof extractOptions>;
|
export type ExtractOptions = z.infer<typeof extractOptions>;
|
||||||
|
|
||||||
const ACTIONS_MAX_WAIT_TIME = 60;
|
const ACTIONS_MAX_WAIT_TIME = 60;
|
||||||
const MAX_ACTIONS = 15;
|
const MAX_ACTIONS = 50;
|
||||||
function calculateTotalWaitTime(actions: any[] = [], waitFor: number = 0): number {
|
function calculateTotalWaitTime(actions: any[] = [], waitFor: number = 0): number {
|
||||||
const actionWaitTime = actions.reduce((acc, action) => {
|
const actionWaitTime = actions.reduce((acc, action) => {
|
||||||
if (action.type === "wait") {
|
if (action.type === "wait") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user