Skip to content

Commit

Permalink
change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Sep 20, 2023
1 parent b927846 commit a6f3928
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit a6f3928

Please sign in to comment.