p2p: bump maxAcceptConns and defaultDialTimout

On the test network, we've seen that it becomes harder to connect
if the queues are so short.
pull/971/head
Felix Lange 10 years ago
parent f7fdb4dfbe
commit 7efeb4bd96
  1. 4
      p2p/server.go

@ -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…
Cancel
Save