From d3e1514eedee7b6bf31306005f067af3f5cbfe75 Mon Sep 17 00:00:00 2001 From: Brennan Date: Tue, 11 Feb 2025 09:12:08 -0800 Subject: [PATCH] increase repair delays (#4643) --- core/src/repair/repair_service.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/repair/repair_service.rs b/core/src/repair/repair_service.rs index 2973186229519a..ed6f33330339d5 100644 --- a/core/src/repair/repair_service.rs +++ b/core/src/repair/repair_service.rs @@ -56,13 +56,13 @@ use { }; // Time to defer repair requests to allow for turbine propagation -const DEFER_REPAIR_THRESHOLD: Duration = Duration::from_millis(200); +const DEFER_REPAIR_THRESHOLD: Duration = Duration::from_millis(250); const DEFER_REPAIR_THRESHOLD_TICKS: u64 = DEFER_REPAIR_THRESHOLD.as_millis() as u64 / MS_PER_TICK; // This is the amount of time we will wait for a repair request to be fulfilled // before making another request. Value is based on reasonable upper bound of // expected network delays in requesting repairs and receiving shreds. -const REPAIR_REQUEST_TIMEOUT_MS: u64 = 100; +const REPAIR_REQUEST_TIMEOUT_MS: u64 = 150; // When requesting repair for a specific shred through the admin RPC, we will // request up to NUM_PEERS_TO_SAMPLE_FOR_REPAIRS in the event a specific, valid