|
Monero
|
interface for throttling of connection (count and rate-limit speed etc) More...
#include "net/network_throttle-detail.hpp"
Namespaces | |
| namespace | epee |
| TODO: (mj-xmr) This will be reduced in an another PR. | |
| namespace | epee::net_utils |
interface for throttling of connection (count and rate-limit speed etc)
Throttling work by: 1) taking note of all traffic (hooks added e.g. to connection class) and measuring speed 2) depending on that information we sleep before sending out data (or send smaller portions of data) 3) depending on the information we can also sleep before sending requests or ask for smaller sets of data to download