Increased default maxPeers from 32 to 36 to compensate - otherwise the network will lose a considerable amount of inbound capacity.

This commit is contained in:
CalDescent 2022-05-01 11:04:17 +01:00
parent 6e49d20383
commit ed04375385

View File

@ -188,7 +188,7 @@ public class Settings {
/** Target number of outbound connections to peers we should make. */
private int minOutboundPeers = 16;
/** Maximum number of peer connections we allow. */
private int maxPeers = 32;
private int maxPeers = 36;
/** Number of slots to reserve for short-lived QDN data transfers */
private int maxDataPeers = 4;
/** Maximum number of threads for network engine. */