From d4ba9d7605aa5689112c2ff2d0e80b476433d52b Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 22 Feb 2020 11:12:52 +0000 Subject: [PATCH] Reduce mojang profile API call limit (Fixes #4121) --- src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java b/src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java index 4bdc88c26..995a11513 100644 --- a/src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java +++ b/src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java @@ -15,7 +15,7 @@ import java.util.*; import java.util.concurrent.Callable; public class UUIDFetcher implements Callable> { - 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 names;