Skip to content

Commit

Permalink
Drop custom timeout on PAA get request (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Aug 16, 2024
1 parent 4734970 commit 2b07cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matter_server/server/helpers/paa_certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ async def fetch_git_certificates(
async with ClientSession(raise_for_status=True) as http_session:
# Fetch directory contents and filter out extension
api_url = f"https://api.github.com/repos/{OWNER}/{REPO}/contents/{PATH}"
async with http_session.get(api_url, timeout=20) as response:
async with http_session.get(api_url) as response:
contents = await response.json()
git_certs = {item["name"].split(".")[0] for item in contents}
# Fetch certificates
Expand Down

0 comments on commit 2b07cd0

Please sign in to comment.