Skip to content

Commit

Permalink
TEST: disable grpc keepalive for client connections
Browse files Browse the repository at this point in the history
  • Loading branch information
psFried committed Nov 15, 2024
1 parent 502144d commit 7cf58bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/gazette/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn dial_channel(endpoint: &str) -> Result<tonic::transport::Channel> {
.connect_timeout(Duration::from_secs(5))
// HTTP/2 keep-alive sends a PING frame every interval to confirm the
// health of the end-to-end HTTP/2 transport.
.http2_keep_alive_interval(std::time::Duration::from_secs(5))
//.http2_keep_alive_interval(std::time::Duration::from_secs(5))
.tls_config(
tonic::transport::ClientTlsConfig::new()
.with_native_roots()
Expand Down

0 comments on commit 7cf58bf

Please sign in to comment.