diff options
author | 2022-09-30 22:14:57 +0400 | |
---|---|---|
committer | 2022-09-30 22:14:57 +0400 | |
commit | f3b9c75b56dd2583f2f5e35146dbaf9c5429e769 (patch) | |
tree | e973d923cfee590a3c4eb5c09d6bb1b237fc5295 | |
parent | Downgrade sentry-sdk To 1.9.8 (diff) |
Increase Request Timeout For GitHub API
Signed-off-by: Hassan Abouelela <[email protected]>
-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: |