Commit 7efeb4bd authored by Felix Lange's avatar Felix Lange

p2p: bump maxAcceptConns and defaultDialTimout

On the test network, we've seen that it becomes harder to connect
if the queues are so short.
parent f7fdb4df
...@@ -18,12 +18,12 @@ import ( ...@@ -18,12 +18,12 @@ import (
) )
const ( const (
defaultDialTimeout = 10 * time.Second defaultDialTimeout = 15 * time.Second
refreshPeersInterval = 30 * time.Second refreshPeersInterval = 30 * time.Second
staticPeerCheckInterval = 15 * time.Second staticPeerCheckInterval = 15 * time.Second
// Maximum number of concurrently handshaking inbound connections. // Maximum number of concurrently handshaking inbound connections.
maxAcceptConns = 10 maxAcceptConns = 50
// Maximum number of concurrently dialing outbound connections. // Maximum number of concurrently dialing outbound connections.
maxDialingConns = 10 maxDialingConns = 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment