p2p: propagate out peers limit to payload handler

This commit is contained in:
moneromooo-monero 2019-06-18 22:27:47 +00:00 committed by wowario
parent d46fb70930
commit 6755e0d7f3
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

View File

@ -2211,6 +2211,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);
}
}