Skip to content

Commit

Permalink
Disable libp2p metrics (#4699)
Browse files Browse the repository at this point in the history
* No libp2p metric

* Disable libp2p metrics
  • Loading branch information
twoeths authored Oct 28, 2022
1 parent 1b2294e commit b06453a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/beacon-node/src/network/nodejs/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export async function createNodejsLibp2p(options: ILibp2pOptions): Promise<Libp2
streamMuxers: [new Mplex({maxInboundStreams: 256})],
peerDiscovery,
metrics: {
enabled: Boolean(options.metrics),
// temporarily disable since there is a performance issue with it
// see https://github.com/ChainSafe/lodestar/issues/4698
enabled: false,
},
connectionManager: {
// dialer config
Expand Down

0 comments on commit b06453a

Please sign in to comment.