From 9156325ffc31c936e27abbdc26a45a41da3eb708 Mon Sep 17 00:00:00 2001 From: catbref Date: Thu, 26 Mar 2020 12:51:40 +0000 Subject: [PATCH] Reduce minimum networking requires to relax CPU usage somewhat --- src/main/java/org/qortal/settings/Settings.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/qortal/settings/Settings.java b/src/main/java/org/qortal/settings/Settings.java index 5f30abe9..83d46d8b 100644 --- a/src/main/java/org/qortal/settings/Settings.java +++ b/src/main/java/org/qortal/settings/Settings.java @@ -81,11 +81,11 @@ public class Settings { /** Port number for inbound peer-to-peer connections. */ private Integer listenPort; /** Minimum number of peers to allow block minting / synchronization. */ - private int minBlockchainPeers = 10; + private int minBlockchainPeers = 8; /** Target number of outbound connections to peers we should make. */ - private int minOutboundPeers = 25; + private int minOutboundPeers = 16; /** Maximum number of peer connections we allow. */ - private int maxPeers = 50; + private int maxPeers = 32; /** Maximum number of threads for network engine. */ private int maxNetworkThreadPoolSize = 20;