Skip to content

Commit

Permalink
Adjust frequency of mtENDPOINTS messages
Browse files Browse the repository at this point in the history
  • Loading branch information
nbougalis committed May 18, 2020
1 parent 9771210 commit fdf6b09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ripple/peerfinder/impl/Tuning.h
Expand Up @@ -129,7 +129,8 @@ enum {
};

// How often we send or accept mtENDPOINTS messages per peer
static std::chrono::seconds const secondsPerMessage(5);
// (we use a prime number of purpose)
static std::chrono::seconds const secondsPerMessage(61);

// How long an Endpoint will stay in the cache
// This should be a small multiple of the broadcast frequency
Expand Down

0 comments on commit fdf6b09

Please sign in to comment.