-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(gossipsub): introduce backpressure #5595
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
Conversation
6d406e1 to
5e349f5
Compare
5e349f5 to
00cde64
Compare
ackintosh
left a comment
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.
guillaumemichel
left a comment
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
jxs
left a comment
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
ackintosh
left a comment
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!
elenaf9
left a comment
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 <[email protected]>
fix(gossipsub): readd lines accidently removed with #12
Co-authored-by: Elena Frank <[email protected]>
Co-authored-by: Elena Frank <[email protected]>
Co-authored-by: Elena Frank <[email protected]>
jxs
left a comment
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 |
elenaf9
left a comment
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.
LGTM!
b60cfd6 to
e1c06db
Compare
f772792 to
d8e3957
Compare
Description
superseeds #4914 with some changes and improvements, namely:
DelayforForwardandPublishmessages, messages that take more than the configured delay to be sent are discarded