fix(skills): add timeout to Google OAuth urlopen calls

This commit is contained in:
Zyrixtrex 2026-05-19 00:11:38 -07:00 committed by Teknium
parent b8a9cbd18c
commit 87c6edc1d0
4 changed files with 53 additions and 3 deletions

View file

@ -586,7 +586,8 @@ def revoke(email: Optional[str] = None) -> None:
f"https://oauth2.googleapis.com/revoke?token={creds.token}",
method="POST",
headers={"Content-Type": "application/x-www-form-urlencoded"},
)
),
timeout=15,
)
print("Token revoked with Google.")
except Exception as exc: