Document peer load warning behavior

This commit is contained in:
Vinnie Falco
2013-07-09 12:15:03 -07:00
parent 8d4f8b3fa3
commit d33be3d804
2 changed files with 10 additions and 2 deletions

View File

@@ -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