Skip to content

Commit

Permalink
Merge pull request #3308 from sudokai0/increase-default-tcp-incoming-…
Browse files Browse the repository at this point in the history
…connections-max

Increase tcp_incoming_connections_max default value
  • Loading branch information
clemahieu committed May 27, 2021
1 parent a8a3a0b commit 874f098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nano/node/nodeconfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 874f098

Please # to comment.