diff --git a/crates/churn/src/agent/grpc_client.rs b/crates/churn/src/agent/grpc_client.rs index be9639a..48f65dd 100644 --- a/crates/churn/src/agent/grpc_client.rs +++ b/crates/churn/src/agent/grpc_client.rs @@ -87,6 +87,7 @@ impl GrpcClient { let channel = if self.host.starts_with("https") { Channel::from_shared(self.host.to_owned())? .tls_config(ClientTlsConfig::new().with_native_roots())? + .connect_timeout(std::time::Duration::from_secs(5)) .connect() .await? } else {