fix the qpid_heartbeat option so that it's effective

The 'hearbeat' typo caused this setting to be ineffective.

Fixes bug: 1032314
Change-Id: Ia2cdb7185e8ec92ca6e587678a688d23a5ac0221
This commit is contained in:
Pádraig Brady 2012-08-02 18:27:54 +01:00
parent d240373db8
commit 751ac81def

View File

@ -101,7 +101,7 @@ class QpidStrategy(strategy.Strategy):
CONF.qpid_reconnect_interval_min)
if CONF.qpid_reconnect_interval:
self.connection.reconnect_interval = CONF.qpid_reconnect_interval
self.connection.hearbeat = CONF.qpid_heartbeat
self.connection.heartbeat = CONF.qpid_heartbeat
self.connection.protocol = CONF.qpid_protocol
self.connection.tcp_nodelay = CONF.qpid_tcp_nodelay
self.connection.open()