From 946970ae615e72e335c6942348bb4d36bee51586 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Fri, 8 Nov 2024 12:52:01 +0200 Subject: [PATCH] Increase state sync retries --- crates/subspace-service/src/sync_from_dsn/snap_sync.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/subspace-service/src/sync_from_dsn/snap_sync.rs b/crates/subspace-service/src/sync_from_dsn/snap_sync.rs index bdc8bdc95a..2b981c82c1 100644 --- a/crates/subspace-service/src/sync_from_dsn/snap_sync.rs +++ b/crates/subspace-service/src/sync_from_dsn/snap_sync.rs @@ -517,8 +517,8 @@ where { let block_number = *header.number(); - const STATE_SYNC_RETRIES: u32 = 5; - const LOOP_PAUSE: Duration = Duration::from_secs(20); + const STATE_SYNC_RETRIES: u32 = 10; + const LOOP_PAUSE: Duration = Duration::from_secs(10); for attempt in 1..=STATE_SYNC_RETRIES { debug!(%attempt, "Starting state sync...");