Skip to content

Commit

Permalink
timeout to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Apr 19, 2024
1 parent 168c9b7 commit 202d8e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/snm_core/src/utils/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl DownloadBuilder {

let response = reqwest::Client::new()
.get(download_url)
.timeout(Duration::from_secs(1))
.timeout(Duration::from_secs(10))
.send()
.await
.expect(format!("download error {}", &download_url).as_str());
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_node/src/check_supported.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub async fn check_supported(node_version: &str, node_dist_url: &str) -> Result<
let client = reqwest::Client::new();
let response = client
.get(node_dist_url)
.timeout(Duration::from_secs(1))
.timeout(Duration::from_secs(10))
.send()
.await;

Expand Down

0 comments on commit 202d8e3

Please sign in to comment.