increase offer reliability with TTL, refresh period, max attempts

This commit is contained in:
woodser 2023-12-23 06:09:48 -05:00
parent 0d33959eeb
commit 3de4264c4b
3 changed files with 4 additions and 4 deletions

View file

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