Merge "Do not duplicate message consumers"

This commit is contained in:
Jenkins 2015-01-26 09:38:14 +00:00 committed by Gerrit Code Review
commit 51fcac0389
1 changed files with 1 additions and 7 deletions

View File

@ -158,13 +158,7 @@ class Service(service.Service):
endpoints = [self.manager]
# Share this same connection for these Consumers
self.conn.create_consumer(self.topic, endpoints, fanout=False)
node_topic = '%s.%s' % (self.topic, self.host)
self.conn.create_consumer(node_topic, endpoints, fanout=False)
self.conn.create_consumer(self.topic, endpoints, fanout=True)
self.conn.create_consumer(self.topic, endpoints)
# Hook to allow the manager to do other initializations after
# the rpc connection is created.