Skip to content

Commit f3b9c75

Browse files
Increase Request Timeout For GitHub API
Signed-off-by: Hassan Abouelela <[email protected]>
1 parent 802d85c commit f3b9c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydis_site/apps/api/github_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def authorize(owner: str, repo: str) -> httpx.Client:
108108
client = httpx.Client(
109109
base_url=settings.GITHUB_API,
110110
headers={"Authorization": f"bearer {generate_token()}"},
111-
timeout=settings.TIMEOUT_PERIOD,
111+
timeout=10,
112112
)
113113

114114
try:

0 commit comments

Comments
 (0)