summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoren Hansen <soren@linux2go.dk>2011-02-10 16:19:34 +0000
committerTarmac <>2011-02-10 16:19:34 +0000
commit8e97cddde4dfed5b3d3fe5a985d6c9a4c6baf293 (patch)
tree0b90d599979ed6e57635c67e60bdfb8df1d6734d
parent5e66cf492f150bfbd01e5983d876192c5b158343 (diff)
parent3f800a8ecde159cb34c5fe358da3aadce660a03a (diff)
downloadnova-8e97cddde4dfed5b3d3fe5a985d6c9a4c6baf293.tar.gz
nova-8e97cddde4dfed5b3d3fe5a985d6c9a4c6baf293.tar.xz
nova-8e97cddde4dfed5b3d3fe5a985d6c9a4c6baf293.zip
Get a fresh connection in rpc.cast rather than using a recycled one.
-rw-r--r--nova/rpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/rpc.py b/nova/rpc.py
index 01fc6d44b..c19ee4635 100644
--- a/nova/rpc.py
+++ b/nova/rpc.py
@@ -346,7 +346,7 @@ def cast(context, topic, msg):
"""Sends a message on a topic without waiting for a response"""
LOG.debug(_("Making asynchronous cast..."))
_pack_context(msg, context)
- conn = Connection.instance()
+ conn = Connection.instance(True)
publisher = TopicPublisher(connection=conn, topic=topic)
publisher.send(msg)
publisher.close()