Skip to content

Commit

Permalink
feat: online-config only limits total request timeout: 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Jun 9, 2024
1 parent 27c207e commit cd537e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/service/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down

0 comments on commit cd537e9

Please sign in to comment.