fix: wildcard server sends interactions to all clients#1339
fix: wildcard server sends interactions to all clients#1339dogancanbakir merged 1 commit intodevfrom
Conversation
In wildcard mode, GetInteractionsWithId clears data on first poll, starving subsequent clients. Use per-consumer read offsets so each client independently tracks its position in the shared data buffer. Buffer cap is configurable via INTERACTSH_MAX_SHARED_INTERACTIONS env var (default 10000).
Neo - PR Security ReviewNo security issues found Highlights
Hardening Notes
Comment |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Mzack9999
left a comment
There was a problem hiding this comment.
LGTM - This was an original design choice as the instance was supposed to be single authenticated user with the capability to obtain full interactions without per-user tracking. This also handled the case of instance reconnection with a potential different correlationId.
Summary
-wc),GetInteractionsWithIdclears data on the first client's poll, starving all other clientsGetInteractionsWithIdForConsumer) so each client independently tracks its position in the shared data bufferINTERACTSH_MAX_SHARED_INTERACTIONS, default 10000)Fixes #1296