Skip to content

Commit

Permalink
[fix] rpc_client loop
Browse files Browse the repository at this point in the history
  • Loading branch information
卜星星 authored and mosquito committed Sep 28, 2019
1 parent dd4f663 commit 4f0a301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/rabbitmq-tutorial/examples/6-rpc/rpc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def on_response(self, message: IncomingMessage):

async def call(self, n):
correlation_id = str(uuid.uuid4())
future = loop.create_future()
future = self.loop.create_future()

self.futures[correlation_id] = future

Expand Down

0 comments on commit 4f0a301

Please sign in to comment.