From 0a14228eaa184040de466b575696c183206dfd23 Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Thu, 19 Dec 2024 14:51:46 +0200 Subject: [PATCH] Drop .timeout(): we completely mistreat it Signed-off-by: Alexander V. Nikolaev --- client/src/endpoint.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/endpoint.rs b/client/src/endpoint.rs index beca66a..d6cebed 100644 --- a/client/src/endpoint.rs +++ b/client/src/endpoint.rs @@ -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 {