diff options
author | 2022-09-30 22:35:50 +0400 | |
---|---|---|
committer | 2022-09-30 22:35:50 +0400 | |
commit | 5692f980d22f1c725ba8bf753dac553a2136e764 (patch) | |
tree | e973d923cfee590a3c4eb5c09d6bb1b237fc5295 /pydis_site/apps/api/github_utils.py | |
parent | Merge pull request #767 from python-discord/extend-download-timeout (diff) | |
parent | Increase Request Timeout For GitHub API (diff) |
Merge pull request #769 from python-discord/bump-dependencies
Update To 3.10 And Bump Dependencies
Diffstat (limited to 'pydis_site/apps/api/github_utils.py')
-rw-r--r-- | pydis_site/apps/api/github_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/github_utils.py b/pydis_site/apps/api/github_utils.py index 5d7bcdc3..986c64e1 100644 --- a/pydis_site/apps/api/github_utils.py +++ b/pydis_site/apps/api/github_utils.py @@ -108,7 +108,7 @@ def authorize(owner: str, repo: str) -> httpx.Client: client = httpx.Client( base_url=settings.GITHUB_API, headers={"Authorization": f"bearer {generate_token()}"}, - timeout=settings.TIMEOUT_PERIOD, + timeout=10, ) try: |