mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Reduce mojang profile API call limit (Fixes #4121)
This commit is contained in:
parent
4cd91350db
commit
d4ba9d7605
@ -15,7 +15,7 @@ import java.util.*;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
public class UUIDFetcher implements Callable<Map<String, UUID>> {
|
||||
private static final int PROFILES_PER_REQUEST = 50;
|
||||
private static final int PROFILES_PER_REQUEST = 10;
|
||||
private static final long RATE_LIMIT = 100L;
|
||||
private static final String PROFILE_URL = "https://api.mojang.com/profiles/minecraft";
|
||||
private final List<String> names;
|
||||
|
Loading…
Reference in New Issue
Block a user