Skip to content

Commit

Permalink
async init
Browse files Browse the repository at this point in the history
  • Loading branch information
l0lawrence committed Feb 10, 2023
1 parent 4b2cfb5 commit 461ac89
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ class AMQPClientAsync(AMQPClientSync):
:paramtype connection_verify: str
"""

def __init__(self):
def __init__(self, hostname, **kwargs):
self._lock_async = asyncio.Lock()
super().__init__(hostname,**kwargs)


async def _keep_alive_async(self):
Expand Down

0 comments on commit 461ac89

Please sign in to comment.