feature: ability to disable impromtu Mojang uuid API calls

This commit is contained in:
xaver106
2022-04-23 23:04:27 +02:00
parent a7b3b3b7df
commit b59b98c11a
2 changed files with 6 additions and 2 deletions

View File

@ -249,6 +249,8 @@ public class Settings extends Config {
public static int UUID_CACHE_SIZE = 100000;
@Comment("Rate limit (per 10 minutes) for background UUID fetching from the Mojang API")
public static int BACKGROUND_LIMIT = 200;
@Comment("Whether the Mojang API service is enabled for inpromto (requires restart)")
public static boolean IMPROMPTU_SERVICE_MOJANG_API = true;
@Comment("Rate limit (per 10 minutes) for random UUID fetching from the Mojang API")
public static int IMPROMPTU_LIMIT = 300;
@Comment("Timeout (in milliseconds) for non-blocking UUID requests (mostly commands)")