Skip to content

Commit

Permalink
Update auth.py
Browse files Browse the repository at this point in the history
Change from 20 seconds to 5
  • Loading branch information
jmeridth authored Apr 26, 2024
1 parent 86956ba commit 888d006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def get_github_app_installation_token(
url = f"https://api.github.com/app/installations/{gh_app_installation_id}/access_tokens"

try:
response = requests.post(url, headers=jwt_headers, json=None, timeout=20)
response = requests.post(url, headers=jwt_headers, json=None, timeout=5)
response.raise_for_status()
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
Expand Down

0 comments on commit 888d006

Please sign in to comment.