Skip to content

Commit

Permalink
use default RED parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Sep 5, 2020
1 parent 25b626e commit 357dded
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node/modules/lp2p/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ func GossipSub(in GossipIn) (service *pubsub.PubSub, err error) {
}

// validation queue RED
options = append(options, pubsub.WithPeerGater(pubsub.NewPeerGaterParams(
0.33, pubsub.ScoreParameterDecay(2*time.Minute), pubsub.ScoreParameterDecay(15*time.Minute))))
options = append(options, pubsub.WithPeerGater(pubsub.DefaultPeerGaterParams()))

// tracer
if in.Cfg.RemoteTracer != "" {
Expand Down

0 comments on commit 357dded

Please sign in to comment.