Commit af932177 authored by Péter Szilágyi's avatar Péter Szilágyi

p2p: reduce the concurrent handshakes to 10/10 in/out

parent 2060bc8b
......@@ -25,10 +25,10 @@ const (
// This is the maximum number of inbound connection
// that are allowed to linger between 'accepted' and
// 'added as peer'.
maxAcceptConns = 50
maxAcceptConns = 10
// Maximum number of concurrently dialing outbound connections.
maxDialingConns = 50
maxDialingConns = 10
// total timeout for encryption handshake and protocol
// handshake in both directions.
......
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