thanks don't how i missed that, i looked on it before,
btw how can i stop it from retrying?

On Thu, Dec 19, 2019 at 10:56 PM Christoph John <christoph.j...@macd.com>
wrote:

> I think this can be done via the channel options of the
> NettyChannelBuilder.
>
> NettyChannelBuilder.forAddress( host, port ).withOption(
> ChannelOption.CONNECT_TIMEOUT_MILLIS, 10000 ).build();
>
> Cheers,
> Chris.
>
>
> On 19.12.19 20:57, Elhanan Maayan wrote:
>
> hi... is there a way to configure a connect time out , for example trying
> to connect to host that's not responding , currently it seems to set to 20
> seconds, but i'd like to shorten to 10 seconds where i'll get unavailable
>
> i've looked every git  issue there is, but it doesn't seem to be
> implemented or i don't see where it's configured.
> --
> 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 grpc-io+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/837b141c-a869-48b6-995d-7b969f4c0fdc%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/837b141c-a869-48b6-995d-7b969f4c0fdc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAETAEKLoQ5v07zLHD83gF%3DybgNc1TVhtSOSUWmpfLHwOANLvSA%40mail.gmail.com.

Reply via email to