increase max failed connection attempts to 8

This commit is contained in:
woodser 2024-02-01 08:23:55 -05:00
parent 1a0fab8c47
commit 902accb290

View File

@ -33,7 +33,7 @@ import java.util.Date;
@Getter @Getter
@Slf4j @Slf4j
public final class Peer implements HasCapabilities, NetworkPayload, PersistablePayload, SupportedCapabilitiesListener { public final class Peer implements HasCapabilities, NetworkPayload, PersistablePayload, SupportedCapabilitiesListener {
private static final int MAX_FAILED_CONNECTION_ATTEMPTS = 6; private static final int MAX_FAILED_CONNECTION_ATTEMPTS = 8;
private final NodeAddress nodeAddress; private final NodeAddress nodeAddress;
private final long date; private final long date;