From a262c99efeb8924e589afb1764c565c0b095f993 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Sat, 19 Sep 2020 17:16:36 +0100 Subject: [PATCH] reduce limit on peer connections --- core/src/main/groovy/com/muwire/core/MuWireSettings.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/MuWireSettings.groovy b/core/src/main/groovy/com/muwire/core/MuWireSettings.groovy index f437b69c..3760bf24 100644 --- a/core/src/main/groovy/com/muwire/core/MuWireSettings.groovy +++ b/core/src/main/groovy/com/muwire/core/MuWireSettings.groovy @@ -108,7 +108,7 @@ class MuWireSettings { // ultrapeer connection settings leafConnections = Integer.valueOf(props.getProperty("leafConnections","512")) - peerConnections = Integer.valueOf(props.getProperty("peerConnections","512")) + peerConnections = Integer.valueOf(props.getProperty("peerConnections","128")) speedSmoothSeconds = Integer.valueOf(props.getProperty("speedSmoothSeconds","10")) totalUploadSlots = Integer.valueOf(props.getProperty("totalUploadSlots","-1"))