mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-09 06:33:16 +00:00
fewer concurrent dials
This commit is contained in:
@@ -253,7 +253,11 @@ func (n *Network) MakeNode(t *testing.T, opts NodeOptions) *Node {
|
||||
privKey,
|
||||
peerManager,
|
||||
[]p2p.Transport{transport},
|
||||
p2p.RouterOptions{},
|
||||
p2p.RouterOptions{
|
||||
NumConcurrentDials: func() int {
|
||||
return 2
|
||||
},
|
||||
},
|
||||
)
|
||||
require.NoError(t, err)
|
||||
require.NoError(t, router.Start())
|
||||
|
||||
Reference in New Issue
Block a user