mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 02:37:34 +02:00
Fine tune timeout length
This commit is contained in:
@ -21,7 +21,7 @@ import javax.net.ssl.HttpsURLConnection;
|
|||||||
public abstract class MojangApiConnector {
|
public abstract class MojangApiConnector {
|
||||||
|
|
||||||
//http connection, read timeout and user agent for a connection to mojang api servers
|
//http connection, read timeout and user agent for a connection to mojang api servers
|
||||||
private static final int TIMEOUT = 1 * 1_000;
|
private static final int TIMEOUT = 3 * 1_000;
|
||||||
private static final String USER_AGENT = "Premium-Checker";
|
private static final String USER_AGENT = "Premium-Checker";
|
||||||
|
|
||||||
private static final String MCAPI_UUID_URL = "https://mcapi.ca/uuid/player/";
|
private static final String MCAPI_UUID_URL = "https://mcapi.ca/uuid/player/";
|
||||||
|
Reference in New Issue
Block a user