From 84df489e24f89a986cfc0db0ba9ce8785e1f7bda Mon Sep 17 00:00:00 2001 From: Mingwei Tian Date: Fri, 10 Jan 2025 20:14:18 -0800 Subject: [PATCH] increase round prober default timeout to 4s --- consensus/config/src/parameters.rs | 2 +- .../config/tests/snapshots/parameters_test__parameters.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/config/src/parameters.rs b/consensus/config/src/parameters.rs index 188ccea5d7043..b88da9f1c2f8b 100644 --- a/consensus/config/src/parameters.rs +++ b/consensus/config/src/parameters.rs @@ -146,7 +146,7 @@ impl Parameters { if cfg!(msim) { 800 } else { - 2000 + 4000 } } diff --git a/consensus/config/tests/snapshots/parameters_test__parameters.snap b/consensus/config/tests/snapshots/parameters_test__parameters.snap index 5069707fc4934..31bae3c89ce11 100644 --- a/consensus/config/tests/snapshots/parameters_test__parameters.snap +++ b/consensus/config/tests/snapshots/parameters_test__parameters.snap @@ -16,7 +16,7 @@ sync_last_known_own_block_timeout: secs: 5 nanos: 0 round_prober_interval_ms: 5000 -round_prober_request_timeout_ms: 2000 +round_prober_request_timeout_ms: 4000 propagation_delay_stop_proposal_threshold: 5 dag_state_cached_rounds: 500 commit_sync_parallel_fetches: 8