Hi, Eric

I guess the default wait_for_ready option is just to wait the exponential 
backoff reconnect until it timeouts and will not issue the channel 
reconnect immediately. Am I right?

Thanks,
Yihao

在 2017年9月19日星期二 UTC-7下午5:05:20,Eric Anderson写道:
>
> You shouldn't need to do anything. The channel will automatically attempt 
> to reconnect on later RPCs. If connecting fails, it will use exponential 
> backoff.
>
> When you initially create the channel, it doesn't eagerly create a 
> connection. It is only after requesting RPCs that it makes a connection. So 
> it's already quite normal for it to make connections on-demand.
>
> On Tue, Sep 12, 2017 at 7:26 PM, yihao yang <[email protected] 
> <javascript:>> wrote:
>
>> Hi, all
>>
>> I know some basics about how completion queue work. But I do not know how 
>> channel reconnection work. Can anyone describe some detail about how to 
>> trigger a channel reconnection in the code level?
>>
>> Thanks,
>> Yihao
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/19d4f65a-8a24-4905-9f47-2d30be5207c9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/19d4f65a-8a24-4905-9f47-2d30be5207c9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/61d92828-78d3-4626-9e6e-10b9783078d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to