-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Make ManagedChannelBuilder.idleTimeout() non-experimental #2022
Comments
not widely used yet, keep unscheduled. |
API review:
|
any update on making this non-experimental? |
No. Idle mode is still not defined cross-language, so we'd want to keep this experimental until we have a firmer idea what the cross-language semantics would be. |
@ejona86 Hi, can I just set idleTimeout to a large value to prevent GRPC from entering idle mode? By that I can reuse the same channel object. |
@DanteAndroid, yeah, just use But there's no need to do that to "reuse the same channel object". "idle mode" is essentially the same state of a freshly-created channel, and the channel can exit and reenter idle mode many times. If you send an RPC the channel will exit idle mode and connect without you doing anything else. |
@ejona86 Actually, I don't think my situation is like what you said. The channel did can exit idle mode, but first it got |
"Unable to resolve host" means DNS resolution failed. A new channel won't help you, as there was a networking issue. |
No description provided.
The text was updated successfully, but these errors were encountered: