Browse Source

Increased default maxNetworkThreadPoolSize from 20 to 32

This will hopefully offset some of the additional network demands from arbitrary data requests.
pull/75/head
CalDescent 3 years ago
parent
commit
b520838195
  1. 2
      src/main/java/org/qortal/settings/Settings.java

2
src/main/java/org/qortal/settings/Settings.java

@ -190,7 +190,7 @@ public class Settings {
/** Maximum number of peer connections we allow. */
private int maxPeers = 32;
/** Maximum number of threads for network engine. */
private int maxNetworkThreadPoolSize = 20;
private int maxNetworkThreadPoolSize = 32;
/** Maximum number of threads for network proof-of-work compute, used during handshaking. */
private int networkPoWComputePoolSize = 2;
/** Maximum number of retry attempts if a peer fails to respond with the requested data */

Loading…
Cancel
Save