FlowBudget
@forge/monorepo / backend/src / FlowBudget
Type Alias: FlowBudget
FlowBudget =
object
Defined in: backend/src/flows/index.ts:48
What a flow or a team may spend before it is stopped.
Three dimensions because they fail differently, and a ceiling on one says nothing about the others. Steps bound a loop that makes no progress. Cost bounds a loop that makes expensive progress. Wall-clock bounds a step that hangs, which neither of the others catches — a flow waiting on a webhook consumes no steps and no money.
Properties
maxCostMinorUnits?
readonlyoptionalmaxCostMinorUnits?:number
Defined in: backend/src/flows/index.ts:50
maxSteps
readonlymaxSteps:number
Defined in: backend/src/flows/index.ts:49
maxWallClockMs?
readonlyoptionalmaxWallClockMs?:number
Defined in: backend/src/flows/index.ts:51