From 874f0984b11e39e0e85d8f87478d3125d4c90042 Mon Sep 17 00:00:00 2001 From: clemahieu Date: Thu, 27 May 2021 10:26:08 +0100 Subject: [PATCH] Merge pull request #3308 from sudokai0/increase-default-tcp-incoming-connections-max Increase tcp_incoming_connections_max default value --- nano/node/nodeconfig.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano/node/nodeconfig.hpp b/nano/node/nodeconfig.hpp index a392331cf5..607febde46 100644 --- a/nano/node/nodeconfig.hpp +++ b/nano/node/nodeconfig.hpp @@ -86,7 +86,7 @@ class node_config std::chrono::nanoseconds pow_sleep_interval{ 0 }; size_t active_elections_size{ 5000 }; /** Default maximum incoming TCP connections, including realtime network & bootstrap */ - unsigned tcp_incoming_connections_max{ 1024 }; + unsigned tcp_incoming_connections_max{ 2048 }; bool use_memory_pools{ true }; static std::chrono::seconds constexpr keepalive_period = std::chrono::seconds (60); static std::chrono::seconds constexpr keepalive_cutoff = keepalive_period * 5;