set default active_election_size to 50k (#2143)
This commit is contained in:
parent
656650b310
commit
82de1a77fe
2 changed files with 3 additions and 3 deletions
|
@ -776,7 +776,7 @@ TEST (node_config, v17_values)
|
|||
tree.put_child ("diagnostics", diagnostics_l);
|
||||
tree.put ("use_memory_pools", true);
|
||||
tree.put ("confirmation_history_size", 2048);
|
||||
tree.put ("active_elections_size", 8000);
|
||||
tree.put ("active_elections_size", 50000);
|
||||
tree.put ("bandwidth_limit", 5242880);
|
||||
tree.put ("conf_height_processor_batch_min_time", 0);
|
||||
}
|
||||
|
@ -794,7 +794,7 @@ TEST (node_config, v17_values)
|
|||
ASSERT_TRUE (config.diagnostics_config.txn_tracking.ignore_writes_below_block_processor_max_time);
|
||||
ASSERT_TRUE (config.use_memory_pools);
|
||||
ASSERT_EQ (config.confirmation_history_size, 2048);
|
||||
ASSERT_EQ (config.active_elections_size, 8000);
|
||||
ASSERT_EQ (config.active_elections_size, 50000);
|
||||
ASSERT_EQ (config.bandwidth_limit, 5242880);
|
||||
ASSERT_EQ (config.conf_height_processor_batch_min_time.count (), 0);
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ public:
|
|||
/** Timeout for initiated async operations */
|
||||
std::chrono::seconds tcp_io_timeout{ (network_params.network.is_test_network () && !is_sanitizer_build) ? std::chrono::seconds (5) : std::chrono::seconds (15) };
|
||||
std::chrono::nanoseconds pow_sleep_interval{ 0 };
|
||||
size_t active_elections_size{ 8000 };
|
||||
size_t active_elections_size{ 50000 };
|
||||
/** Default maximum incoming TCP connections, including realtime network & bootstrap */
|
||||
unsigned tcp_incoming_connections_max{ 1024 };
|
||||
bool use_memory_pools{ true };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue