Skip to content

Commit

Permalink
Merge pull request #3222 from autonomys/increase-state-sync-retries
Browse files Browse the repository at this point in the history
Increase state sync retries
  • Loading branch information
nazar-pc authored Nov 8, 2024
2 parents 754862c + 946970a commit 62cc37a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/subspace-service/src/sync_from_dsn/snap_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand Down

0 comments on commit 62cc37a

Please sign in to comment.