@oona/vlo / host / DispatcherOptions
Interface: DispatcherOptions
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:61
Tuning for the outbox dispatcher. Every default suits a single laptop host.
Properties
backoffBaseMs?
optionalbackoffBaseMs?:number
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:71
First backoff step after a refused push; doubles per dispatch attempt.
batch?
optionalbatch?:number
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:67
Rows one stage claims per pass. Default 50.
claimHoldMs?
optionalclaimHoldMs?:number
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:69
How long a claim is held before another orchestrator may take the row.
fetch?
optionalfetch?:FetchLike
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:77
fetch used for HTTP pushes. Default globalThis.fetch; injected by tests.
maxBackoffMs?
optionalmaxBackoffMs?:number
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:73
Ceiling on the push backoff. Default 60 s.
mode?
optionalmode?:DispatcherMode
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:63
loop (default) ticks on a timer and on kick(); manual only ticks when asked.
tickMs?
optionaltickMs?:number
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:65
Interval between passes in loop mode. Default 500 ms.
unroutableBackoffMs?
optionalunroutableBackoffMs?:number
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:75
Backoff used when no transport serves the task's queue at all.
workerId?
optionalworkerId?:string
Defined in: sdk/ts/sdk/src/host/dispatcher.ts:79
Recorded as worker_id on tasks this process dispatches. Default vlo-<8 hex>.