mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
Document peer load warning behavior
This commit is contained in:
4
TODO.txt
4
TODO.txt
@@ -250,4 +250,6 @@ A node is "full below" if we believe we have (either in the database or
|
||||
node in a hash tree. When trying to acquire a hash tree/map, if a node is
|
||||
full below, we know not to bother with anything below that node.
|
||||
|
||||
The fullBelowCache is a cache of hashes of nodes that are full below.
|
||||
The fullBelowCache is a cache of hashes of nodes that are full below. Which means
|
||||
there are no missing children
|
||||
|
||||
|
||||
@@ -65,7 +65,6 @@ enum LoadType
|
||||
class LoadSource
|
||||
{
|
||||
public:
|
||||
// VFALCO TODO Why even bother with a warning? Why can't we just drop?
|
||||
// VFALCO TODO Use these dispositions
|
||||
/*
|
||||
enum Disposition
|
||||
@@ -201,6 +200,13 @@ private:
|
||||
|
||||
This object creates an associated thread to maintain a clock.
|
||||
|
||||
When the server is overloaded by a particular peer it issues a warning
|
||||
first. This allows friendly peers to reduce their consumption of resources,
|
||||
or disconnect from the server.
|
||||
|
||||
The warning system is used instead of merely dropping, because hostile
|
||||
peers can just reconnect anyway.
|
||||
|
||||
@see LoadSource, LoadType
|
||||
*/
|
||||
class ILoadManager
|
||||
|
||||
Reference in New Issue
Block a user