Skip to content

fix(event): improve event delivery reliability - #6965

Open
xxo1shine wants to merge 1 commit into
tronprotocol:developfrom
xxo1shine:fix/event-delivery-backpressure
Open

fix(event): improve event delivery reliability#6965
xxo1shine wants to merge 1 commit into
tronprotocol:developfrom
xxo1shine:fix/event-delivery-backpressure

Conversation

@xxo1shine

Copy link
Copy Markdown
Collaborator

What does this PR do?
Realtime event loading dropped new events when downstream processing reached the soft queue limit, while the native publisher applied its configured send high-water mark after socket creation.

Pause block event loading at 500 queued events and retain pending events for later delivery. Normalize the native queue settings and apply the sendQueueLength before creating the publisher so explicit values take effect while non-positive values preserve the default behavior.

Fixes #6929

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

Realtime event loading dropped new events when downstream processing reached the soft queue limit, while the native publisher applied its configured send high-water mark after socket creation.

Pause block event loading at 500 queued events and retain pending events for later delivery. Normalize the native queue settings and apply the sendQueueLength before creating the publisher so explicit values take effect while non-positive values preserve the default behavior.
@github-actions
github-actions Bot requested a review from 0xbigapple September 11, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve event delivery and ZeroMQ queue configuration

1 participant