mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 03:23:57 +08:00
fix: increase request timeout to 60 seconds for better reliability
This commit is contained in:
parent
a7f66c3d65
commit
965e281348
@ -52,7 +52,7 @@ impl MihomoManager {
|
||||
let client_response = reqwest::ClientBuilder::new()
|
||||
.default_headers(self.headers.clone())
|
||||
.no_proxy()
|
||||
.timeout(Duration::from_secs(2))
|
||||
.timeout(Duration::from_secs(60))
|
||||
.build()
|
||||
.map_err(|e| e.to_string())?
|
||||
.request(
|
||||
|
Loading…
x
Reference in New Issue
Block a user