diff --git a/unshackle/core/utilities.py b/unshackle/core/utilities.py index 17b7441..3b1734d 100644 --- a/unshackle/core/utilities.py +++ b/unshackle/core/utilities.py @@ -245,7 +245,7 @@ def get_ip_info(session: Optional[requests.Session] = None) -> dict: request = session or requests.Session() request.adapters["http://"] = HTTPAdapter(max_retries=3) request.adapters["https://"] = HTTPAdapter(max_retries=3) - return request.get("https://ipinfo.io/json", timeout=1).json() + return request.get("https://ipinfo.io/json", timeout=3).json() def get_cached_ip_info(session: Optional[requests.Session] = None) -> Optional[dict]: