3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-12 10:15:49 +00:00

Reduce minimum networking requires to relax CPU usage somewhat

This commit is contained in:
catbref 2020-03-26 12:51:40 +00:00
parent 70131914b2
commit 9156325ffc

View File

@ -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;