Skip to content

Commit

Permalink
enable pubsub RED
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Sep 5, 2020
1 parent 8e0c57f commit f83d7d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node/modules/lp2p/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ func GossipSub(in GossipIn) (service *pubsub.PubSub, err error) {
options = append(options, pubsub.WithDirectPeers(directPeerInfo))
}

// validation queue RED
options = append(options, pubsub.WithPeerGater(pubsub.DefaultPeerGaterParams()))

// tracer
if in.Cfg.RemoteTracer != "" {
a, err := ma.NewMultiaddr(in.Cfg.RemoteTracer)
Expand Down

0 comments on commit f83d7d6

Please sign in to comment.