fix: add await to is_ready

This commit is contained in:
Jonathan Kössler 2024-07-17 11:41:31 +02:00
parent b8833c7560
commit eeb4c3ce29

View File

@ -68,7 +68,7 @@ class AsyncQueueManager:
async def is_ready(self) -> bool:
await self.connect()
return self.channel.is_open
return await self.channel.is_open
async def setup_exchanges(self) -> None:
self.tenant_exchange = await self.channel.declare_exchange(