feat: online-config only limits total request timeout: 30s

This commit is contained in:
ty
2024-06-10 00:39:45 +08:00
parent 27c207ec4d
commit cd537e942d
-2
View File
@@ -1112,8 +1112,6 @@ async fn get_online_config_servers(
.zstd(true)
.redirect(Policy::limited(3))
.timeout(Duration::from_secs(30))
.read_timeout(Duration::from_secs(5))
.connect_timeout(Duration::from_millis(500))
.build()?;
let response = client.get(online_config_url).send().await?;