Skip to content

Commit

Permalink
fix(network): restore default message queue size in PubSub module (#1642
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Ja7ad authored Dec 14, 2024
1 parent 3e82c65 commit b56802d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions network/gossip.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ func newGossipService(ctx context.Context, host lp2phost.Host, conf *Config,
lp2pps.WithMessageSignaturePolicy(lp2pps.StrictNoSign),
lp2pps.WithNoAuthor(),
lp2pps.WithMessageIdFn(MessageIDFunc),
lp2pps.WithPeerOutboundQueueSize(600),
}

if conf.IsBootstrapper {
// enable Peer eXchange on bootstrappers
// enable Peer exchange on bootstrappers
opts = append(opts, lp2pps.WithPeerExchange(true))
}

Expand Down

0 comments on commit b56802d

Please sign in to comment.