mirror of
https://github.com/monero-project/monero.git
synced 2025-07-30 06:28:40 -04:00
Merge pull request #2866
cf5f6236
Corrections in rate limiting / trottle code, especially in 'out' direction (rbrunner7)
This commit is contained in:
commit
9b511d3e93
8 changed files with 25 additions and 41 deletions
|
@ -140,7 +140,7 @@ void cryptonote_protocol_handler_base::handler_response_blocks_now(size_t packet
|
|||
|
||||
{
|
||||
CRITICAL_REGION_LOCAL( network_throttle_manager::m_lock_get_global_throttle_out );
|
||||
delay = network_throttle_manager::get_global_throttle_out().get_sleep_time_after_tick( packet_size ); // decission from global
|
||||
delay = network_throttle_manager::get_global_throttle_out().get_sleep_time_after_tick( packet_size );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue