bigtable: set_nodelay for http connector (#26398)

This commit is contained in:
Kirill Fomichev 2022-07-25 18:16:55 -03:00 committed by GitHub
parent a7e4df5d6e
commit 0c98b06249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ impl BigTableConnection {
let mut http = hyper::client::HttpConnector::new();
http.enforce_http(false);
http.set_nodelay(true);
let channel = match std::env::var("BIGTABLE_PROXY") {
Ok(proxy_uri) => {
let proxy = hyper_proxy::Proxy::new(