From 17248324c96c20f4820607cf7a63412199e8f36d Mon Sep 17 00:00:00 2001 From: steviez Date: Tue, 29 Oct 2024 21:40:14 -0500 Subject: [PATCH] Fix incorrect default for num AccountsIndex flush threads (#3371) Using the wrong field from defaults struct --- validator/src/cli/thread_args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/src/cli/thread_args.rs b/validator/src/cli/thread_args.rs index 314e82846b5e2c..083f15a028d722 100644 --- a/validator/src/cli/thread_args.rs +++ b/validator/src/cli/thread_args.rs @@ -45,7 +45,7 @@ pub fn thread_args<'a>(defaults: &DefaultThreadArgs) -> Vec> { new_thread_arg::(&defaults.accounts_db_clean_threads), new_thread_arg::(&defaults.accounts_db_foreground_threads), new_thread_arg::(&defaults.accounts_db_hash_threads), - new_thread_arg::(&defaults.accounts_db_foreground_threads), + new_thread_arg::(&defaults.accounts_index_flush_threads), new_thread_arg::(&defaults.ip_echo_server_threads), new_thread_arg::(&defaults.replay_forks_threads), new_thread_arg::(&defaults.replay_transactions_threads),