mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
fix: increase request timeout to 60 seconds for better reliability
This commit is contained in:
@@ -52,7 +52,7 @@ impl MihomoManager {
|
|||||||
let client_response = reqwest::ClientBuilder::new()
|
let client_response = reqwest::ClientBuilder::new()
|
||||||
.default_headers(self.headers.clone())
|
.default_headers(self.headers.clone())
|
||||||
.no_proxy()
|
.no_proxy()
|
||||||
.timeout(Duration::from_secs(2))
|
.timeout(Duration::from_secs(60))
|
||||||
.build()
|
.build()
|
||||||
.map_err(|e| e.to_string())?
|
.map_err(|e| e.to_string())?
|
||||||
.request(
|
.request(
|
||||||
|
|||||||
Reference in New Issue
Block a user