mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
p2p: propagate out peers limit to payload handler
This commit is contained in:
parent
6335509727
commit
fcbf7b3f74
@ -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 New Issue
Block a user