Small improvement

pull/183/head
M66B 5 years ago
parent 4ffed65da3
commit fff18b063b

@ -72,6 +72,7 @@ public class IPInfo {
HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
connection.setRequestMethod("GET");
connection.setReadTimeout(FETCH_TIMEOUT);
connection.setConnectTimeout(FETCH_TIMEOUT);
connection.connect();
Organization organization = new Organization();

Loading…
Cancel
Save