Skip to content

Commit

Permalink
P2P: Increase outbound message queue size to 256 (#7916)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvanloon committed Nov 22, 2020
1 parent d62420b commit 57fe012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions beacon-chain/p2p/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func NewService(ctx context.Context, cfg *Config) (*Service, error) {
pubsub.WithNoAuthor(),
pubsub.WithMessageIdFn(msgIDFunction),
pubsub.WithSubscriptionFilter(s),
pubsub.WithPeerOutboundQueueSize(256),
}
// Add gossip scoring options.
if featureconfig.Get().EnablePeerScorer {
Expand Down

0 comments on commit 57fe012

Please sign in to comment.