Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc: re-enable channel idleness by default #6585

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

easwars
Copy link
Contributor

@easwars easwars commented Aug 25, 2023

The plan was always to enable this by default. But we hit a bug right after making the changes, and had to disable it. We have since fixed the underlying bug.

Fixes #6559

RELEASE NOTES:

  • grpc: channel idleness enabled by default with an idle_timeout of 30m

@easwars easwars requested a review from dfawley August 25, 2023 02:47
@easwars easwars added the Type: Feature New features or improvements in behavior label Aug 25, 2023
@easwars easwars added this to the 1.59 Release milestone Aug 25, 2023
dialoptions.go Outdated
@@ -680,8 +681,8 @@ func WithResolvers(rs ...resolver.Builder) DialOption {
// channel will exit idle mode when the Connect() method is called or when an
// RPC is initiated.
//
// By default this feature is disabled, which can also be explicitly configured
// by passing zero to this function.
// A default timeout of 30 min will be used if this dial option is not set at
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: "minutes" instead of "min" would be more formal / appropriate for godoc comments.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thanks.

@dfawley dfawley assigned easwars and unassigned dfawley Aug 28, 2023
@easwars easwars force-pushed the enable_idle_timeout branch from 41aa631 to 223379f Compare August 29, 2023 16:58
@easwars easwars merged commit 9362f26 into grpc:master Aug 29, 2023
9 of 10 checks passed
@easwars easwars deleted the enable_idle_timeout branch August 29, 2023 18:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New features or improvements in behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable idle timeout by default
2 participants