Skip to content

Commit

Permalink
feat: enable TcpNoDelay (#1470)
Browse files Browse the repository at this point in the history
  • Loading branch information
Menduist committed Jul 15, 2023
1 parent 1d3410c commit 08f3bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/v2/node/builder.nim
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ proc build*(builder: WakuNodeBuilder): Result[WakuNode, string] =
privKey = builder.nodekey,
address = builder.netConfig.get().hostAddress,
wsAddress = builder.netConfig.get().wsHostAddress,
transportFlags = {ServerFlags.ReuseAddr},
transportFlags = {ServerFlags.ReuseAddr, ServerFlags.TcpNoDelay},
rng = rng,
maxConnections = builder.switchMaxConnections.get(builders.MaxConnections),
wssEnabled = builder.netConfig.get().wssEnabled,
Expand Down

0 comments on commit 08f3bba

Please sign in to comment.