Browse Source

Reduce minimum networking requires to relax CPU usage somewhat

pull/67/head
catbref 5 years ago
parent
commit
9156325ffc
  1. 6
      src/main/java/org/qortal/settings/Settings.java

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

Loading…
Cancel
Save