diff options
author | 2022-10-27 01:46:27 +0400 | |
---|---|---|
committer | 2022-10-27 01:49:48 +0400 | |
commit | 71319de89593978de8d6725d1b405d8735d100a5 (patch) | |
tree | 6cabe7bb3a4688d0484583287e1114c71faf5a66 /pydis_site/apps/api/github_utils.py | |
parent | Rename Tag Model Author Field (diff) | |
parent | Update off-topic etiquette to reflect server size (#785) (diff) |
Merge branch 'main' into bot-tags
Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
# poetry.lock
# pydis_site/settings.py
# pyproject.toml
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 e9d7347b..44c571c3 100644 --- a/pydis_site/apps/api/github_utils.py +++ b/pydis_site/apps/api/github_utils.py @@ -106,7 +106,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: |