Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / DEFAULT_SUBFLOW_LIMITS

Variable: DEFAULT_SUBFLOW_LIMITS

const DEFAULT_SUBFLOW_LIMITS: object

Defined in: packages/fireflow-types/src/execution/services/dbos-types.ts:208

Default limits for subflow execution to prevent resource exhaustion

Type Declaration

maxBreadth

readonly maxBreadth: 100 = 100

Maximum concurrent subflows from a single node (parallel execution)

maxDepth

readonly maxDepth: 100 = 100

Maximum nesting depth for subflows (A calls B calls C...)

maxTotal

readonly maxTotal: 1000 = 1000

Maximum total subflows across the entire execution tree

Licensed under BUSL-1.1