Skip to content

Commit

Permalink
Disable aiohttp client timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
wvffle authored May 24, 2024
1 parent f855572 commit 770b29e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions streamrip/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ async def get_session(headers: dict | None = None) -> aiohttp.ClientSession:
if headers is None:
headers = {}
return aiohttp.ClientSession(
timeout=aiohttp.ClientTimeout(total=0),
headers={"User-Agent": DEFAULT_USER_AGENT},
**headers,
)

0 comments on commit 770b29e

Please sign in to comment.