forked from Qortal/qortal
Reduce minimum networking requires to relax CPU usage somewhat
This commit is contained in:
parent
70131914b2
commit
9156325ffc
@ -81,11 +81,11 @@ public class Settings {
|
|||||||
/** Port number for inbound peer-to-peer connections. */
|
/** Port number for inbound peer-to-peer connections. */
|
||||||
private Integer listenPort;
|
private Integer listenPort;
|
||||||
/** Minimum number of peers to allow block minting / synchronization. */
|
/** 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. */
|
/** 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. */
|
/** Maximum number of peer connections we allow. */
|
||||||
private int maxPeers = 50;
|
private int maxPeers = 32;
|
||||||
/** Maximum number of threads for network engine. */
|
/** Maximum number of threads for network engine. */
|
||||||
private int maxNetworkThreadPoolSize = 20;
|
private int maxNetworkThreadPoolSize = 20;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user