Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: autoscale session event capacity #7149

Merged
merged 1 commit into from Mar 18, 2024
Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Mar 15, 2024

Closes #1163

the default session event/message capacity is derived from the default number of peers.

This scales the buffer size if the configured peers are higher, maintaining the default capacity / max peers ratio.

@mattsse mattsse added C-enhancement New feature or request A-networking Related to networking in general labels Mar 15, 2024
Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mattsse mattsse added this pull request to the merge queue Mar 18, 2024
Merged via the queue into main with commit 804c54a Mar 18, 2024
27 checks passed
@mattsse mattsse deleted the matt/scale-event-buffer branch March 18, 2024 22:16
Ruteri pushed a commit to Ruteri/reth that referenced this pull request Apr 17, 2024
Ruteri pushed a commit to Ruteri/reth that referenced this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-networking Related to networking in general C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Derive the session event buffer from configured peer limits in PeersConfig
2 participants