Skip to content

Commit

Permalink
chore(networking): increase FETCH_TIMEOUT to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Aug 30, 2023
1 parent fb63024 commit 953d793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sn_networking/src/replication_fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 953d793

Please sign in to comment.