From cd537e942d35c6ec01a502687167a26be49cbf63 Mon Sep 17 00:00:00 2001 From: ty Date: Mon, 10 Jun 2024 00:39:45 +0800 Subject: [PATCH] feat: online-config only limits total request timeout: 30s --- src/service/local.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/service/local.rs b/src/service/local.rs index 92fd0a861436..af817cc00f5f 100644 --- a/src/service/local.rs +++ b/src/service/local.rs @@ -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?;