enable pubsub RED
This commit is contained in:
parent
7fdab46729
commit
453ab95e54
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user