[EnMasse] Disconnect from time to time

Gordon Sim gsim at redhat.com
Thu Mar 28 19:08:36 UTC 2019


On 28/03/2019 4:24 pm, Ulf Lilleengen wrote:
> On Thu, Mar 28, 2019 at 4:12 PM Gordon Sim <gsim at redhat.com 
> <mailto:gsim at redhat.com>> wrote:
>     The logs show the broker specifies an idle timeout of 2.5
>     seconds. 
 >
> Hmm, its strange since the connector sets it to 5 seconds by default. Is 
> the reporting accurate or is there a potential flaw in proton-j 
> configuration? Looking at the source code of Artemis it should be 
> setting transport.setIdleTimeout(5000)

The idle timeout it advertises to the router is 2500. That may be 
deliberate. If that method sets the time after which the connection is 
considered dead, proton may be advertising half the value such that it 
needs to miss two heartbeats to timeout. (It is rather confusing though 
when the name is identical to the protocol field).




More information about the enmasse mailing list