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

fix(gossipsub): Improve max_messages_per_rpc consistency #5826

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

jxs
Copy link
Member

@jxs jxs commented Jan 22, 2025

Description

Currently, when a gossipsub Rpc is received, only the publish messages are being checked for max_messages_per_rpc.
This PR improves the config flag consistency by applying the check to the Control Messages as well.

@jxs jxs requested review from elenaf9, dariusc93 and AgeManning and removed request for elenaf9 January 22, 2025 15:49
Copy link
Member

@dariusc93 dariusc93 left a comment

Choose a reason for hiding this comment

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

LGTM. Left a suggestion and could you update workspace Cargo.toml as well? :)

protocols/gossipsub/CHANGELOG.md Outdated Show resolved Hide resolved
protocols/gossipsub/src/behaviour.rs Outdated Show resolved Hide resolved
@jxs jxs requested a review from dariusc93 January 24, 2025 15:23
Copy link
Contributor

@AgeManning AgeManning left a comment

Choose a reason for hiding this comment

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

Yeah, nice

@jxs jxs added the send-it label Jan 29, 2025
@mergify mergify bot merged commit 5ac2e20 into master Jan 29, 2025
70 of 72 checks passed
@mergify mergify bot deleted the max-control-messages-gossipsub branch January 29, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants