We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cc068e commit ad5587bCopy full SHA for ad5587b
tonic-tls-tests/src/lib.rs
@@ -289,7 +289,9 @@ mod tests {
289
let dnsname = "localhost".to_string();
290
let ep = tonic::transport::Endpoint::from_shared(url)
291
.unwrap()
292
- .tcp_keepalive(Some(Duration::from_secs(5)));
+ .tcp_keepalive(Some(Duration::from_secs(5)))
293
+ .tcp_keepalive_interval(Some(Duration::from_secs(3)))
294
+ .tcp_keepalive_retries(Some(3));
295
ep.connect_with_connector(tonic_tls::native::TlsConnector::new(&ep, tc, dnsname))
296
.await
297
.map_err(tonic_tls::Error::from)
0 commit comments