-
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(swarm): improve PeerAddresses
configurability
#5574
base: master
Are you sure you want to change the base?
feat(swarm): improve PeerAddresses
configurability
#5574
Conversation
8fbd19b
to
be31d42
Compare
be31d42
to
e5435fc
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 for the PR. Left a couple of comments
This pull request has merge conflicts. Could you please resolve them @stormshield-frb? 🙏 |
14c1974
to
4d17c21
Compare
1b14122
to
457c063
Compare
This pull request has merge conflicts. Could you please resolve them @stormshield-frb? 🙏 |
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.
Hi François, thanks for this! And sorry for the delay, left some comments
This pull request has merge conflicts. Could you please resolve them @stormshield-frb? 🙏 |
Description
Our average peer has over 10 advertised addresses. Doing so,
identify
was continuously (every 1 minute) emittingToSwarm::NewExternalAddrOfPeer
which was overflowing our logs and was making thePeerCache
kind of useless.For this reason, we made some changes in order to be able to configure the number of addresses that should be cached for a peer. We are upstreaming this changes.
Notes & open questions
N/A
Change checklist