don't need to use a separate connection

This commit is contained in:
termie
2011-05-25 15:42:24 -07:00
parent ff9ba4e5d7
commit aba7847b8a

View File

@@ -481,8 +481,7 @@ def multicall(context, topic, msg):
wait_msg = MulticallWaiter(consumer)
consumer.register_callback(wait_msg)
pub_conn = ConnectionPool.get()
publisher = TopicPublisher(connection=pub_conn, topic=topic)
publisher = TopicPublisher(connection=con_conn, topic=topic)
publisher.send(msg)
publisher.close()