mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Goddamnit, save more often to make sure progress is made
This commit is contained in:
parent
01a18fa587
commit
e51809d066
@ -20,7 +20,7 @@ public class UUIDUpdateAsyncTask extends BukkitRunnable {
|
||||
private static final int MAX_LOOKUP = Math.max(HiddenConfig.getInstance().getUUIDConvertAmount(), 100);
|
||||
private static final int RATE_LIMIT = HiddenConfig.getInstance().getMojangRateLimit();
|
||||
private static final long LIMIT_PERIOD = HiddenConfig.getInstance().getMojangLimitPeriod();
|
||||
private static final int BATCH_SIZE = 5000;
|
||||
private static final int BATCH_SIZE = MAX_LOOKUP * 3;
|
||||
|
||||
private List<String> userNames;
|
||||
private int size;
|
||||
|
@ -11,9 +11,9 @@ Options:
|
||||
EnchantmentBuffs: true
|
||||
|
||||
# Amount of users to convert every interval
|
||||
UUIDConvertAmount: 50
|
||||
UUIDConvertAmount: 100
|
||||
# Amount of users to be converted at a time before waiting MojangLimitPeriod milliseconds to begin again
|
||||
# This setting is for large servers to avoid being temp banned from mojang api
|
||||
MojangRateLimit: 200
|
||||
MojangRateLimit: 300
|
||||
# Amount of time to wait after hitting the MojangRateLimit in UUID conversion
|
||||
MojangLimitPeriod: 1500
|
||||
MojangLimitPeriod: 6000
|
||||
|
Loading…
Reference in New Issue
Block a user