[openamq-dev] Multi-threaded connection requests fail?

Martin Lucina mato at imatix.com
Thu Nov 8 20:15:07 CET 2007


On 8/11/2007, "Martin Sustrik" <sustrik at imatix.com> wrote:

>> I have been stepping through the code.  Does GDB get in the way?
>
>Probably not, unless you've been pausing at specific point in
>amq_connection_new function for longer than 30 secs.


It'll get in the way sooner than that, if you're using heartbeats.

The default with MT builds is to use a heartbeat of 2 seconds, and if you
miss out 4 heartbeats (i.e. 8 seconds) the server will drop the
connection.

-mato


More information about the openamq-dev mailing list