Skip to content

Commit

Permalink
fix aiohttp
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Dec 5, 2023
1 parent 7dcec02 commit ba43a36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion livekit-api/livekit/api/livekit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(
api_key: Optional[str] = None,
api_secret: Optional[str] = None,
*,
timeout: float = 60, # 1 minutes by default
timeout: aiohttp.ClientTimeout = aiohttp.ClientTimeout(total=60), # 60 seconds
):
url = url or os.getenv("LIVEKIT_URL")
api_key = api_key or os.getenv("LIVEKIT_API_KEY")
Expand Down
2 changes: 1 addition & 1 deletion livekit-api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
python_requires=">=3.7.0",
install_requires=[
"pyjwt>=2.0.0",
"aiohttp>=3.8.0",
"aiohttp>=3.9.0",
"protobuf>=3.1.0",
"types-protobuf>=3.1.0",
"livekit-protocol>=0.2.0",
Expand Down

0 comments on commit ba43a36

Please sign in to comment.