From 9ef37fa161fda2dd3464666444298d54fcb2121a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:42:05 +0200 Subject: [PATCH] Reduce number of legacy bootstrap serving threads --- nano/node/nodeconfig.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nano/node/nodeconfig.hpp b/nano/node/nodeconfig.hpp index a71953b690..d780524e5b 100644 --- a/nano/node/nodeconfig.hpp +++ b/nano/node/nodeconfig.hpp @@ -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;