← Back to team overview

openstack team mailing list archive

Re: qpid_heartbeat...doesn't?

 

On 07/29/2012 07:14 PM, Lars Kellogg-Stedman wrote:
>> Looks like a typo.
>> Could you try this.
> 
> That seems better...although while the documentation says that
> qpid_heartbeat is "Seconds between heartbeat messages" [1], observed
> behavior suggests that it is actually *minutes* between messages.
> 
> [1]: http://docs.openstack.org/essex/openstack-compute/admin/content/configuration-qpid.html

That's surprising as the qpid code does:

    if self.connection.heartbeat:
      times.append(time.time() + self.connection.heartbeat)

Notice how time.time() is seconds, and so
heartbeat must be given in seconds.
Perhaps there is another issue with the scheduling of this?
How are you monitoring the connection?

cheers,
Pádraig.


Follow ups

References