From 751ac81defe61d4cc8fb5e86dc96f76bdee6f398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Thu, 2 Aug 2012 18:27:54 +0100 Subject: [PATCH] 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 --- glance/notifier/notify_qpid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glance/notifier/notify_qpid.py b/glance/notifier/notify_qpid.py index 72c0db7427..a683ce11a7 100644 --- a/glance/notifier/notify_qpid.py +++ b/glance/notifier/notify_qpid.py @@ -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()