@cryptotaxi247 / CoPilot / commits / 34cc1826

Set timeout for GET requests to 10 seconds

taylorwalton committed Sep 2, 2025 at 11:17 UTC 34cc18261dbde1cbf1b7c68d7f71983171449064
1 file changed +1
backend/app/middleware/license.py
+1
@@ -627,6 +627,7 @@ async def send_get_request(endpoint: str) -> Dict[str, Any]:
627 f"https://license.socfortress.co/{endpoint}",
628 headers=HEADERS,
629 verify=False,
630 + timeout=10,
631 )
632
633 if response.status_code == 204: