summaryrefslogtreecommitdiffstats
path: root/openstack/common
diff options
context:
space:
mode:
authorPádraig Brady <pbrady@redhat.com>2012-07-30 01:42:07 +0100
committerPádraig Brady <pbrady@redhat.com>2012-07-30 01:51:59 +0100
commit0b760eca5c71f2b6fd29c0df0f4cf394335097f8 (patch)
treec2be8de62d0e4afb6faa9f0b804b9069427afcf3 /openstack/common
parentc11a0d419f658fcec716c2d32ee10f17ecbfb2b9 (diff)
downloadoslo-0b760eca5c71f2b6fd29c0df0f4cf394335097f8.tar.gz
oslo-0b760eca5c71f2b6fd29c0df0f4cf394335097f8.tar.xz
oslo-0b760eca5c71f2b6fd29c0df0f4cf394335097f8.zip
fix the qpid_heartbeat option so that it's effective
The 'hearbeat' typo caused this setting to be ineffective. This bug has been present since the initial nova qpid implementation. Fixes bug: 1030430 Change-Id: Ibb9d7484b9d11a6904cc9e2a8dde6d9164ee05b1
Diffstat (limited to 'openstack/common')
-rw-r--r--openstack/common/rpc/impl_qpid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/impl_qpid.py b/openstack/common/rpc/impl_qpid.py
index 677b54b..992790a 100644
--- a/openstack/common/rpc/impl_qpid.py
+++ b/openstack/common/rpc/impl_qpid.py
@@ -329,7 +329,7 @@ class Connection(object):
if self.conf.qpid_reconnect_interval:
self.connection.reconnect_interval = (
self.conf.qpid_reconnect_interval)
- self.connection.hearbeat = self.conf.qpid_heartbeat
+ self.connection.heartbeat = self.conf.qpid_heartbeat
self.connection.protocol = self.conf.qpid_protocol
self.connection.tcp_nodelay = self.conf.qpid_tcp_nodelay