Skip to content

Commit

Permalink
feat: enable gossipsub batch publish (#6597)
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths authored Apr 2, 2024
1 parent b927126 commit c0addb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/beacon-node/src/network/gossip/gossipsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ export class Eth2Gossipsub extends GossipSub {
asyncValidation: true,

maxOutboundBufferSize: MAX_OUTBOUND_BUFFER_SIZE,
// serialize message once and send to all peers when publishing
batchPublish: true,
});
this.scoreParams = scoreParams;
this.config = config;
Expand Down

0 comments on commit c0addb7

Please sign in to comment.