Skip to content

Commit 121ae44

Browse files
authored
Merge pull request #9 from OpenMatchmaking/feature-worker-with-rpc-and-custom-loop
Added a custom event loop for RPC client in run() method call
2 parents b9b5c3f + 3bc3883 commit 121ae44

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sage_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__title__ = 'sage-utils'
2-
__version__ = '0.5.3'
2+
__version__ = '0.5.4'
33
__license__ = 'BSD'
44
VERSION = __version__

sage_utils/amqp/workers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ async def run(self, *args, loop=None, **kwargs):
3333
routing_key=self.REQUEST_QUEUE_NAME,
3434
request_exchange=self.REQUEST_EXCHANGE_NAME,
3535
response_queue='',
36-
response_exchange=self.RESPONSE_EXCHANGE_NAME
36+
response_exchange=self.RESPONSE_EXCHANGE_NAME,
37+
loop=loop
3738
)
3839

3940
is_registered = False

0 commit comments

Comments
 (0)