fix: Installer increase download req timeout from 30 seconds to 6 minutes
This commit is contained in:
parent
70f6aff07f
commit
a1912f8400
|
@ -91,7 +91,9 @@ fn download_to_temp(
|
|||
let temp_dir = TempDir::new()?;
|
||||
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();
|
||||
progress_bar.set_message(format!("{}Downloading...", TRUCK));
|
||||
|
|
Loading…
Reference in New Issue