mirror of https://github.com/waku-org/nwaku.git
feat: prioritise yamux above mplex (#2417)
* update libp2p submodule * feat: prefer yamux to mplex
This commit is contained in:
parent
29b0c0b8da
commit
ce151efc36
|
@ -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…
Reference in New Issue