mirror of https://github.com/waku-org/nwaku.git
feat: enable TcpNoDelay (#1470)
This commit is contained in:
parent
1d3410c7bd
commit
08f3bba334
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue