Skip to content

Commit

Permalink
Reduce number of legacy bootstrap serving threads
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jul 4, 2024
1 parent 339c819 commit 9ef37fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nano/node/nodeconfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ class node_config
/* Use half available threads on the system for signature checking. The calling thread does checks as well, so these are extra worker threads */
unsigned signature_checker_threads{ std::max (2u, nano::hardware_concurrency () / 2) };
bool enable_voting{ false };
/* Legacy bootstrap configs */
unsigned bootstrap_connections{ 4 };
unsigned bootstrap_connections_max{ 64 };
unsigned bootstrap_initiator_threads{ 1 };
unsigned bootstrap_serving_threads{ std::max (2u, nano::hardware_concurrency () / 2) };
unsigned bootstrap_serving_threads{ 1 };
uint32_t bootstrap_frontier_request_count{ 1024 * 1024 };
nano::websocket::config websocket_config;
nano::diagnostics_config diagnostics_config;
Expand Down

0 comments on commit 9ef37fa

Please sign in to comment.