-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configs to specify keepAlive and shutdownTimeout for GrpcQueryCli…
…ent. - Added `channelShutdownTimeoutSecond` config for `GrpcQueryClient` with default of 10s. - Added configs for keep-alive: - `channelKeepAliveEnabled` to enable/disable the feature, default false. - `channelKeepAliveTimeiSeconds` to configures the interval for sending keep-alive pings, default 300 seconds (5 minutes). - `channelKeepAliveTimeoutSeconds` configures the timeout for waiting for a ping acknowledgment, default 300 seconds (5 minutes). - `channelKeepAliveWithoutCalls` ensures pings are sent even when there are no active calls, keeping the connection alive during idle period, default true.
- Loading branch information
1 parent
cf1a0f6
commit 52ceccd
Showing
2 changed files
with
57 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters