diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-18 22:27:47 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-19 11:49:36 +0000 |
commit | fcbf7b3f747b068f993d22ec8deabea643254da3 (patch) | |
tree | 214efe825621655e555887f205d7dc37ca472a31 /src/p2p/net_node.inl | |
parent | Merge pull request #5641 (diff) | |
download | monero-fcbf7b3f747b068f993d22ec8deabea643254da3.tar.xz |
p2p: propagate out peers limit to payload handler
Diffstat (limited to 'src/p2p/net_node.inl')
-rw-r--r-- | src/p2p/net_node.inl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index ba29d92c9..5280e777c 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -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); } } |