From a6f3928303901fb727accc13229925a708093762 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Wed, 20 Sep 2023 12:29:34 +0800 Subject: [PATCH] change comment --- .../teku/networking/p2p/libp2p/LibP2PNetworkBuilder.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/libp2p/LibP2PNetworkBuilder.java b/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/libp2p/LibP2PNetworkBuilder.java index fbc86d15186..715f4d53b41 100644 --- a/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/libp2p/LibP2PNetworkBuilder.java +++ b/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/libp2p/LibP2PNetworkBuilder.java @@ -159,9 +159,7 @@ protected Host createHost() { // yamux MUST take precedence during negotiation if (config.isYamuxEnabled()) { - // TODO: setting maxBufferedConnectionWrites to 150 MiB to handle overflowing the write - // buffer when serving the blocks by range request until jvm-libp2p implements more - // optimized yamux backpressure + // TODO: https://github.com/Consensys/teku/issues/7532 final int maxBufferedConnectionWrites = 150 * 1024 * 1024; b.getMuxers().add(StreamMuxerProtocol.getYamux(maxBufferedConnectionWrites)); }