Skip to content

Commit

Permalink
Add comment for DP attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiranFang committed Oct 15, 2020
1 parent 065fd56 commit d9bfde2
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -236,6 +236,8 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi
.setKeepAliveTimeout(
Duration.ofSeconds(10)) // wait this long before considering the connection dead
.setKeepAliveWithoutCalls(true) // sends ping without active streams
// Attempts direct access to CBT service over gRPC to improve throughput,
// whether the attempt is allowed is totally controlled by service owner.
.setAttemptDirectPath(true);
}

Expand Down

0 comments on commit d9bfde2

Please sign in to comment.