fix: Installer increase download req timeout from 30 seconds to 6 minutes
(cherry picked from commit a1912f8400
)
This commit is contained in:
@ -91,7 +91,9 @@ fn download_to_temp(
|
|||||||
let temp_dir = TempDir::new()?;
|
let temp_dir = TempDir::new()?;
|
||||||
let temp_file = temp_dir.path().join("download");
|
let temp_file = temp_dir.path().join("download");
|
||||||
|
|
||||||
let client = reqwest::blocking::Client::new();
|
let client = reqwest::blocking::Client::builder()
|
||||||
|
.timeout(Duration::from_secs(360))
|
||||||
|
.build()?;
|
||||||
|
|
||||||
let progress_bar = new_spinner_progress_bar();
|
let progress_bar = new_spinner_progress_bar();
|
||||||
progress_bar.set_message(format!("{}Downloading...", TRUCK));
|
progress_bar.set_message(format!("{}Downloading...", TRUCK));
|
||||||
|
Reference in New Issue
Block a user