Skip to content

Commit

Permalink
Drop .timeout(): we completely mistreat it
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander V. Nikolaev <[email protected]>
  • Loading branch information
avnik committed Dec 19, 2024
1 parent 399bc28 commit 0a14228
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/src/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ impl EndpointConfig {
let url = transport_config_to_url(&self.transport.address, self.tls.is_some());
info!("Connecting to {url}, TLS name {:?}", &self.tls);
let mut endpoint = Endpoint::try_from(url.clone())?
.timeout(Duration::from_millis(500))
.connect_timeout(Duration::from_millis(300))
.concurrency_limit(30);
if let Some(tls) = &self.tls {
Expand Down

0 comments on commit 0a14228

Please sign in to comment.