mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 23:43:07 +00:00
feat: prioritise yamux above mplex (#2417)
* update libp2p submodule * feat: prefer yamux to mplex
This commit is contained in:
parent
52af324f47
commit
bf1bb45d75
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