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:
1 parent
f7fdb4dfbe
commit
7efeb4bd96
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user