From 953d793983c221503bfe2b3acf2b0a180d669e71 Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Wed, 30 Aug 2023 16:10:26 +0200 Subject: [PATCH] chore(networking): increase FETCH_TIMEOUT to 10s --- sn_networking/src/replication_fetcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sn_networking/src/replication_fetcher.rs b/sn_networking/src/replication_fetcher.rs index 556da175d9..1a1e1f2480 100644 --- a/sn_networking/src/replication_fetcher.rs +++ b/sn_networking/src/replication_fetcher.rs @@ -21,7 +21,7 @@ const MAX_PARALLEL_FETCH: usize = CLOSE_GROUP_SIZE * 2; // The duration after which a peer will be considered failed to fetch data from, // if no response got from that peer. -const FETCH_TIMEOUT: Duration = Duration::from_secs(5); +const FETCH_TIMEOUT: Duration = Duration::from_secs(10); // The maximum number of retries that is performed per peer. // Else the key is fetched from the Network