forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc: restore 20s connect timeout for grpc dialer
Changes in cockroachdb#49114 lead to default connect timeout value dropping to 0 instead of default 20s. This is not always enough for multiregion clients with hub spoke network topologies as connections don't have enough time to initially go through. This change restores initial value that matches grpc defaults. Release note (bug fix): Connect timeout for grpc connections is set to 20s to match pre 20.2 default value.
- Loading branch information
1 parent
468f123
commit b778411
Showing
2 changed files
with
10 additions
and
2 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