Skip to main content

Interface: CallGroupsOptions<P>

Defined in: packages/orchestration/src/calls/call-groups.ts:44

Type Parameters​

P​

P = unknown

Properties​

dispatchBatchSize?​

optional dispatchBatchSize?: number

Defined in: packages/orchestration/src/calls/call-groups.ts:52

Calls dispatched per page. Default 50.


dispatchConcurrency?​

optional dispatchConcurrency?: number

Defined in: packages/orchestration/src/calls/call-groups.ts:54

Dispatches in flight at once within a page. Default 8. The host's own admission stays authoritative.


hooks​

hooks: CallGroupHooks<P>

Defined in: packages/orchestration/src/calls/call-groups.ts:46


maxCalls?​

optional maxCalls?: number

Defined in: packages/orchestration/src/calls/call-groups.ts:50

Most calls one group may hold. Default 1000.


store​

store: CallGroupStore

Defined in: packages/orchestration/src/calls/call-groups.ts:45


tickets?​

optional tickets?: TicketStore

Defined in: packages/orchestration/src/calls/call-groups.ts:48

Read by the default readChain (a call's chain is its root ticket).


timing?​

optional timing?: object

Defined in: packages/orchestration/src/calls/call-groups.ts:55

pendingRecoveryMs?​

optional pendingRecoveryMs?: number

A call left pending this long was persisted by an instance that never dispatched it. Default 2 minutes.

returnRetryMs?​

optional returnRetryMs?: number

How long an undelivered return waits before it is offered again. Default 1 minute.

settleRecheckMs?​

optional settleRecheckMs?: number

How often the sweep re-derives a dispatched call whose settlement may have been lost. Default 1 minute.