-
Notifications
You must be signed in to change notification settings - Fork 961
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(gossipsub): introduce backpressure #5595
base: master
Are you sure you want to change the base?
Conversation
6d406e1
to
5e349f5
Compare
5e349f5
to
00cde64
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ve left a few small comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to add new tests for the introduced backpressure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the reviews Akihito and Gui!
8564d5e
to
887fe07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to add new tests for the introduced backpressure
yup for sure thanks for the suggestion Gui! Added some tests
ee51578
to
ec0e0b4
Compare
ec0e0b4
to
c9e6602
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks João, LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments and nit picks.
This pull request has merge conflicts. Could you please resolve them @jxs? 🙏 |
refactor(gossipsub): use `send_message` for all RpcOut
Co-authored-by: Elena Frank <elena.frank@proton.me>
fix(gossipsub): readd lines accidently removed with #12
Co-authored-by: Elena Frank <elena.frank@proton.me>
Co-authored-by: Elena Frank <elena.frank@proton.me>
Co-authored-by: Elena Frank <elena.frank@proton.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think I addressed everything, can you take another look Elena? Thanks!
I think the new |
ah right! Added the |
Description
superseeds #4914 with some changes and improvements, namely:
Delay
forForward
andPublish
messages, messages that take more than the configured delay to be sent are discarded