-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
build, contracts, log, metrics, p2p, rpc: changes necessary by swarm-network-rewrite #16898
Changes from all commits
9936d80
9baa7c5
26037fd
c779956
d8b75b4
b841feb
9f7306f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -594,13 +594,13 @@ running: | |
// This channel is used by AddPeer to add to the | ||
// ephemeral static peer list. Add it to the dialer, | ||
// it will keep the node connected. | ||
srv.log.Debug("Adding static node", "node", n) | ||
srv.log.Trace("Adding static node", "node", n) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't understand why those changes are needed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We are just downgrading the level of those particular logs, because they are quite spammy. I understand that we might have different understanding of what |
||
dialstate.addStatic(n) | ||
case n := <-srv.removestatic: | ||
// This channel is used by RemovePeer to send a | ||
// disconnect request to a peer and begin the | ||
// stop keeping the node connected | ||
srv.log.Debug("Removing static node", "node", n) | ||
srv.log.Trace("Removing static node", "node", n) | ||
dialstate.removeStatic(n) | ||
if p, ok := peers[n.ID]; ok { | ||
p.Disconnect(DiscRequested) | ||
|
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.
ethersphere
repo Travis is slower thenethereum
, so we had to relax this test a bit more.