ws-asyncapi API / core / LocalBackplaneOptions
Interface: LocalBackplaneOptions
Defined in: .api-entries/core/index.d.ts:370
In-process backplane: delivers published messages straight back to the local node and tracks membership in memory. Behaviorally identical to the original single-process pub/sub, but also powers presence/roomMembers on one node.
Properties
recovery?
optionalrecovery?:false| {bufferSize?:number;sessionTTL?:number; }
Defined in: .api-entries/core/index.d.ts:375
Connection-state-recovery tuning. Pass false to disable the replay log (smaller memory footprint, no recovery). Default: enabled.
Union Members
false
Type Literal
{ bufferSize?: number; sessionTTL?: number; }
bufferSize?
optionalbufferSize?:number
max events retained in the replay log (default: 10_000)
sessionTTL?
optionalsessionTTL?:number
how long a disconnected session is recoverable (default: 120_000ms)