Skip to content

Commit b4b55e1

Browse files
authored
fixed miguelgrinberg#897: compatibility with aio-pika>=7 (miguelgrinberg#900)
1 parent 4d5e36d commit b4b55e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/socketio/asyncio_aiopika_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async def _listen(self):
9393

9494
async with self.listener_queue.iterator() as queue_iter:
9595
async for message in queue_iter:
96-
with message.process():
96+
async with message.process():
9797
yield pickle.loads(message.body)
9898
except Exception:
9999
self._get_logger().error('Cannot receive from rabbitmq... '

0 commit comments

Comments
 (0)