mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 20:47:31 +08:00
fix: increase request timeout to 60 seconds for better reliability
This commit is contained in:
parent
b57c6e408a
commit
af7660686d
@ -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