mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
Change PROFILES_PER_REQUEST to 50
@blood thinks this may fix the 429 issue
This commit is contained in:
@ -18,7 +18,7 @@ import org.json.simple.JSONObject;
|
||||
import org.json.simple.parser.JSONParser;
|
||||
|
||||
public class UUIDFetcher implements Callable<Map<String, UUID>> {
|
||||
private static final int PROFILES_PER_REQUEST = 100;
|
||||
private static final int PROFILES_PER_REQUEST = 50;
|
||||
private static final long RATE_LIMIT = 100L;
|
||||
private static final String PROFILE_URL = "https://api.mojang.com/profiles/minecraft";
|
||||
private final JSONParser jsonParser = new JSONParser();
|
||||
|
Reference in New Issue
Block a user