pass max peers to libp2p (#2265)
This commit is contained in:
parent
70a03658e3
commit
64e4d74f87
|
@ -1526,7 +1526,13 @@ proc newBeaconSwitch*(conf: BeaconNodeConf, seckey: PrivateKey,
|
|||
|
||||
let identify = newIdentify(peerInfo)
|
||||
|
||||
newSwitch(peerInfo, transports, identify, muxers, secureManagers)
|
||||
newSwitch(
|
||||
peerInfo,
|
||||
transports,
|
||||
identify,
|
||||
muxers,
|
||||
secureManagers,
|
||||
maxConnections = conf.maxPeers)
|
||||
|
||||
proc createEth2Node*(rng: ref BrHmacDrbgContext,
|
||||
conf: BeaconNodeConf,
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0959877b29be802b857cb10ab194f5cf29e3649f
|
||||
Subproject commit 1d77d37f17a8d4b9bbafb83eae69790dad48b4c5
|
Loading…
Reference in New Issue