Skip to content

Commit

Permalink
Drop custom timeout on PAA get request
Browse files Browse the repository at this point in the history
Simply rely on the default, until we have a good reason to customize
this timeout.
  • Loading branch information
agners committed Aug 16, 2024
1 parent 1c38147 commit a055d3e
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 a055d3e

Please sign in to comment.