Merge branch 'fix/RES-820-channel-opening' into 'master'
fix: use is_initialized instead of is_open See merge request knecon/research/pyinfra!89
This commit is contained in:
commit
5020e54dcc
@ -80,7 +80,7 @@ class AsyncQueueManager:
|
|||||||
|
|
||||||
async def is_ready(self) -> bool:
|
async def is_ready(self) -> bool:
|
||||||
await self.connect()
|
await self.connect()
|
||||||
return await self.channel.is_open
|
return self.channel.is_initialized
|
||||||
|
|
||||||
async def setup_exchanges(self) -> None:
|
async def setup_exchanges(self) -> None:
|
||||||
self.tenant_exchange = await self.channel.declare_exchange(
|
self.tenant_exchange = await self.channel.declare_exchange(
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pyinfra"
|
name = "pyinfra"
|
||||||
version = "3.2.0"
|
version = "3.2.1"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Team Research <research@knecon.com>"]
|
authors = ["Team Research <research@knecon.com>"]
|
||||||
license = "All rights reseverd"
|
license = "All rights reseverd"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user