mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
p2p: propagate out peers limit to payload handler
This commit is contained in:
parent
6335509727
commit
fcbf7b3f74
1 changed files with 1 additions and 0 deletions
|
@ -2213,6 +2213,7 @@ namespace nodetool
|
|||
public_zone->second.m_config.m_net_config.max_out_connection_count = count;
|
||||
if(current > count)
|
||||
public_zone->second.m_net_server.get_config_object().del_out_connections(current - count);
|
||||
m_payload_handler.set_max_out_peers(count);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue