mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 00:15:51 +00:00
Adjust frequency of mtENDPOINTS messages
This commit is contained in:
committed by
manojsdoshi
parent
97712107b7
commit
9f91870b1c
@@ -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
|
||||
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
: sink_(partition, threshold, suite), journal_(sink_)
|
||||
{
|
||||
}
|
||||
operator beast::Journal &()
|
||||
operator beast::Journal&()
|
||||
{
|
||||
return journal_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user