зеркало из https://github.com/mozilla/stoneridge.git
Get channel properly in RPC Caller. It's a function, moron.
This commit is contained in:
Родитель
2831df0b9e
Коммит
0f20475d66
|
@ -564,7 +564,7 @@ class RpcCaller(object):
|
|||
|
||||
params = pika.ConnectionParameters(host=self._host)
|
||||
self._connection = pika.BlockingConnection(params)
|
||||
self._channel = self._connection.channel
|
||||
self._channel = self._connection.channel()
|
||||
self._channel.basic_consume(self._on_rpc_done, no_ack=True,
|
||||
queue=self._incoming_queue)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче