Limit legacy bootstrap serving threads (#4668)
This commit is contained in:
parent
5983818695
commit
e877de187b
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ public:
|
||||||
unsigned bootstrap_connections{ 4 };
|
unsigned bootstrap_connections{ 4 };
|
||||||
unsigned bootstrap_connections_max{ 64 };
|
unsigned bootstrap_connections_max{ 64 };
|
||||||
unsigned bootstrap_initiator_threads{ 1 };
|
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 };
|
uint32_t bootstrap_frontier_request_count{ 1024 * 1024 };
|
||||||
nano::websocket::config websocket_config;
|
nano::websocket::config websocket_config;
|
||||||
nano::diagnostics_config diagnostics_config;
|
nano::diagnostics_config diagnostics_config;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue