summaryrefslogtreecommitdiffstats
path: root/nova/rpc.py
diff options
context:
space:
mode:
authorEric Day <eday@oddments.org>2010-11-03 23:04:01 +0000
committerTarmac <>2010-11-03 23:04:01 +0000
commit671b712a5ad9034fa89761018203cc7c1ea0449b (patch)
treed8d5a08406ac0003b7dcc826b28cb0c56d7be0a7 /nova/rpc.py
parentad5013db5a2558b695d13b0e880884b0aee4fa69 (diff)
parent23463610cb180253697b500f11f01e686b20c1e8 (diff)
downloadnova-671b712a5ad9034fa89761018203cc7c1ea0449b.tar.gz
nova-671b712a5ad9034fa89761018203cc7c1ea0449b.tar.xz
nova-671b712a5ad9034fa89761018203cc7c1ea0449b.zip
Enables the exclusive flag for DirectConsumer queues.
Diffstat (limited to 'nova/rpc.py')
-rw-r--r--nova/rpc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/rpc.py b/nova/rpc.py
index 05eaa0f99..ea36d69f4 100644
--- a/nova/rpc.py
+++ b/nova/rpc.py
@@ -206,6 +206,7 @@ class DirectConsumer(Consumer):
self.routing_key = msg_id
self.exchange = msg_id
self.auto_delete = True
+ self.exclusive = True
super(DirectConsumer, self).__init__(connection=connection)