Skip to main content

Interface: ReconcileOptions

Defined in: packages/orchestration/src/orchestrator.ts:50

Properties​

claimGraceMs?​

optional claimGraceMs?: number

Defined in: packages/orchestration/src/orchestrator.ts:54

How long a just-created run may wait for its ticket claim before it counts as orphaned. Default 2 minutes.


dispatch?​

optional dispatch?: boolean

Defined in: packages/orchestration/src/orchestrator.ts:58

Run a dispatch pass at the end. Default true.


maxRecoveries?​

optional maxRecoveries?: number

Defined in: packages/orchestration/src/orchestrator.ts:56

Times a ticket is queued again after its run died, before it fails. Default 2.


now?​

optional now?: number

Defined in: packages/orchestration/src/orchestrator.ts:60

The clock, for tests.


staleAfterMs?​

optional staleAfterMs?: number

Defined in: packages/orchestration/src/orchestrator.ts:52

A running run with no heartbeat (or start, without one) for this long is dead. Default 15 minutes — beyond any serverless invocation.