EventConsumerPollOptions
Defined in: packages/server/src/events/consumer.ts:112
Adaptive-poll tuning. Defaults are the ADR’s; they are TUNING, not contract — the pacing mechanism itself is internal and may change.
Properties
Section titled “Properties”ceilingMs?
Section titled “ceilingMs?”
optionalceilingMs?:number
Defined in: packages/server/src/events/consumer.ts:116
The longest wait an idle stream reaches. Defaults to DEFAULT_EVENT_POLL_CEILING_MS.
factor?
Section titled “factor?”
optionalfactor?:number
Defined in: packages/server/src/events/consumer.ts:118
The growth factor per consecutive empty read. Defaults to DEFAULT_EVENT_POLL_FACTOR.
floorMs?
Section titled “floorMs?”
optionalfloorMs?:number
Defined in: packages/server/src/events/consumer.ts:114
The wait after the first empty read. Defaults to DEFAULT_EVENT_POLL_FLOOR_MS.