Skip to content

Commit

Permalink
fix: unblock async timeout for in channel auth
Browse files Browse the repository at this point in the history
  • Loading branch information
carlmontanari committed Feb 16, 2025
1 parent 06580fe commit 1a3131e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scrapli/channel/async_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ async def channel_authenticate_ssh(
):
return

# see https://github.com/carlmontanari/scrapli/issues/363#issuecomment-2661495686
await asyncio.sleep(0.1)

@timeout_wrapper
async def channel_authenticate_telnet( # noqa: C901
self, auth_username: str = "", auth_password: str = ""
Expand Down Expand Up @@ -421,6 +424,8 @@ async def channel_authenticate_telnet( # noqa: C901
):
return

await asyncio.sleep(0.1)

@timeout_wrapper
async def get_prompt(self) -> str:
"""
Expand Down

0 comments on commit 1a3131e

Please sign in to comment.