diff --git a/crates/snm_core/src/utils/download.rs b/crates/snm_core/src/utils/download.rs index 5931b124..6492b041 100644 --- a/crates/snm_core/src/utils/download.rs +++ b/crates/snm_core/src/utils/download.rs @@ -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()); diff --git a/crates/snm_node/src/check_supported.rs b/crates/snm_node/src/check_supported.rs index e96cf543..08505233 100644 --- a/crates/snm_node/src/check_supported.rs +++ b/crates/snm_node/src/check_supported.rs @@ -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;