Skip to content

Commit

Permalink
Revert "revert: MINIMUM_CONNECT_TIME (#129)" (#130)
Browse files Browse the repository at this point in the history
This reverts commit e37dfec.
  • Loading branch information
decryp2kanon authored May 12, 2020
1 parent e37dfec commit 0154a52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/net_processing.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ static constexpr int64_t STALE_CHECK_INTERVAL = 5; // seconds // FIXME.SUGAR
// sugarchain: (5 / 3) = 1.666...
static constexpr int64_t EXTRA_PEER_CHECK_INTERVAL = 3; // seconds // FIXME.SUGAR
/** Minimum time an outbound-peer-eviction candidate must be connected for, in order to evict, in seconds */
static constexpr int64_t MINIMUM_CONNECT_TIME = 30;
// (30 / 2) = 15
static constexpr int64_t MINIMUM_CONNECT_TIME = 15; // seconds // FIXME.SUGAR

class PeerLogicValidation : public CValidationInterface, public NetEventsInterface {
private:
Expand Down

1 comment on commit 0154a52

@cryptozeny

This comment was marked as resolved.

Please sign in to comment.