Fix incorrect comment relating to STALE_CHECK_INTERVAL (#434)
This commit is contained in:
parent
dc21b3ee03
commit
f496412ed8
@ -29,7 +29,7 @@ static constexpr int32_t MAX_OUTBOUND_PEERS_TO_PROTECT_FROM_DISCONNECT = 4;
|
|||||||
/** Timeout for (unprotected) outbound peers to sync to our chainwork, in seconds */
|
/** Timeout for (unprotected) outbound peers to sync to our chainwork, in seconds */
|
||||||
static constexpr int64_t CHAIN_SYNC_TIMEOUT = 20 * 60; // 20 minutes
|
static constexpr int64_t CHAIN_SYNC_TIMEOUT = 20 * 60; // 20 minutes
|
||||||
/** How frequently to check for stale tips, in seconds */
|
/** How frequently to check for stale tips, in seconds */
|
||||||
static constexpr int64_t STALE_CHECK_INTERVAL = 2.5 * 60; // 10 minutes
|
static constexpr int64_t STALE_CHECK_INTERVAL = 2.5 * 60; // 2.5 minutes
|
||||||
/** How frequently to check for extra outbound peers and disconnect, in seconds */
|
/** How frequently to check for extra outbound peers and disconnect, in seconds */
|
||||||
static constexpr int64_t EXTRA_PEER_CHECK_INTERVAL = 45;
|
static constexpr int64_t EXTRA_PEER_CHECK_INTERVAL = 45;
|
||||||
/** Minimum time an outbound-peer-eviction candidate must be connected for, in order to evict, in seconds */
|
/** Minimum time an outbound-peer-eviction candidate must be connected for, in order to evict, in seconds */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user