mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-05 11:34:45 +00:00
feat: prioritise yamux above mplex (#2417)
* update libp2p submodule * feat: prefer yamux to mplex
This commit is contained in:
parent
29b0c0b8da
commit
ce151efc36
2
vendor/nim-libp2p
vendored
2
vendor/nim-libp2p
vendored
@ -1 +1 @@
|
|||||||
Subproject commit e3c967ad1939fb33b8e13759037d193734acd202
|
Subproject commit e0f70b71778bf9613421261b22a56499c913f806
|
@ -90,8 +90,8 @@ proc newWakuSwitch*(
|
|||||||
.withMaxIn(maxIn)
|
.withMaxIn(maxIn)
|
||||||
.withMaxOut(maxOut)
|
.withMaxOut(maxOut)
|
||||||
.withMaxConnsPerPeer(maxConnsPerPeer)
|
.withMaxConnsPerPeer(maxConnsPerPeer)
|
||||||
.withMplex(inTimeout, outTimeout)
|
|
||||||
.withYamux()
|
.withYamux()
|
||||||
|
.withMplex(inTimeout, outTimeout)
|
||||||
.withNoise()
|
.withNoise()
|
||||||
.withTcpTransport(transportFlags)
|
.withTcpTransport(transportFlags)
|
||||||
.withNameResolver(nameResolver)
|
.withNameResolver(nameResolver)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user