You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by on 2018/10/29 11:18:20 UTC

Configure Timeout for client in case server nodes are not up

Hey,

What happens to a client node in case there are no other nodes running, i found a default value for connectionTimeout at 5000ms in TcpCommunicationSpi and think it should timeout but my client node kept on trying for a connection.
should i be looking at some other property in TcpCommunicationSpi or if not via TcpCommunicationSpi is there a way we can configure a timeout?

Regards,
Prem

Re: Configure Timeout for client in case server nodes are not up

Posted by Evgenii Zhuravlev <e....@gmail.com>.
Hi,

connectionTimeout is related to different things. The timeout that you
searching for is joinTimeout. By default it's unlimited.

https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.html#setJoinTimeout-long-

Evgenii

пн, 29 окт. 2018 г. в 14:18, prem@infoworks.io <pr...@infoworks.io>:

> Hey,
>
> What happens to a client node in case there are no other nodes running, i
> found a default value for connectionTimeout at 5000ms in
> TcpCommunicationSpi and think it should timeout but my client node kept on
> trying for a connection.
> should i be looking at some other property in TcpCommunicationSpi or if
> not via TcpCommunicationSpi is there a way we can configure a timeout?
>
> Regards,
> Prem
>