From af932177755f5f839ab29b16dc490d3e1bb3708d Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Thu, 30 Apr 2015 17:39:08 +0300 Subject: p2p: reduce the concurrent handshakes to 10/10 in/out --- p2p/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'p2p') diff --git a/p2p/server.go b/p2p/server.go index b7a92ce55..164aaba37 100644 --- a/p2p/server.go +++ b/p2p/server.go @@ -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. -- cgit