Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
increase the timeout in syncing process subscription backoff
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthDesai committed Oct 30, 2023
1 parent bfb37ff commit 41167bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ impl<F: Farmer + 'static> Node<F> {
.build();
let check_synced_backoff = backoff::ExponentialBackoffBuilder::new()
.with_initial_interval(Duration::from_secs(1))
.with_max_elapsed_time(Some(Duration::from_secs(10)))
.with_max_elapsed_time(Some(Duration::from_secs(5*60)))
.build();

backoff::future::retry(check_offline_backoff, || {
Expand Down

0 comments on commit 41167bb

Please sign in to comment.