Re: Why heartbeatTimeout is 3 times as much as heartbeat?

2018-03-12 Thread jun liu
> hi, I'm a little puzzled, why heartbeatTimeout is 3 times as much as > heartbeat? Heart determines the interval to detect, while heartbeatTimeout determines when to announce the connection is broken. 3 times is the maximum heartbeat failures dubbo can bear before mark a connection as

Re: Why heartbeatTimeout is 3 times as much as heartbeat?

2018-03-11 Thread Ian Luo
Hi Tian, This is how the timeout default value is defined. You could always specify timeout value by specify the URL parameter "Constants.HEARTBEAT_TIMEOUT_ KEY". -Ian. On Sat, Mar 10, 2018 at 5:58 PM, 天 <1197596...@qq.com> wrote: > hi, I'm a little puzzled, why heartbeatTimeout is 3 times as

Why heartbeatTimeout is 3 times as much as heartbeat?

2018-03-10 Thread ??
hi, I'm a little puzzled, why heartbeatTimeout is 3 times as much as heartbeat? public HeaderExchangeServer(Server server) { if (server == null) { throw new IllegalArgumentException("server == null"); } this.server = server; this.heartbeat =