mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 23:43:44 +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()
|
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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user