forked from cerc-io/plugeth
p2p: bump maxAcceptConns and defaultDialTimout
On the test network, we've seen that it becomes harder to connect if the queues are so short.
This commit is contained in:
parent
f7fdb4dfbe
commit
7efeb4bd96
@ -18,12 +18,12 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
defaultDialTimeout = 10 * time.Second
|
||||
defaultDialTimeout = 15 * time.Second
|
||||
refreshPeersInterval = 30 * time.Second
|
||||
staticPeerCheckInterval = 15 * time.Second
|
||||
|
||||
// Maximum number of concurrently handshaking inbound connections.
|
||||
maxAcceptConns = 10
|
||||
maxAcceptConns = 50
|
||||
|
||||
// Maximum number of concurrently dialing outbound connections.
|
||||
maxDialingConns = 10
|
||||
|
Loading…
Reference in New Issue
Block a user