From 41167bbb4e935cc81d98ffab819c8622c896a73f Mon Sep 17 00:00:00 2001 From: Parth Desai Date: Mon, 30 Oct 2023 18:03:45 +0400 Subject: [PATCH] increase the timeout in syncing process subscription backoff --- node/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/lib.rs b/node/src/lib.rs index c251655a..87645649 100644 --- a/node/src/lib.rs +++ b/node/src/lib.rs @@ -573,7 +573,7 @@ impl Node { .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, || {