mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
Add missing default values for the rate limiter
This commit is contained in:
@ -87,8 +87,8 @@ public class FastLoginCore<P extends C, C, T extends PlatformPlugin<C>> {
|
||||
return;
|
||||
}
|
||||
|
||||
int maxCon = config.getInt("anti-bot.connections");
|
||||
int expireTime = config.getInt("anti-bot.expire");
|
||||
int maxCon = config.getInt("anti-bot.connections", 200);
|
||||
int expireTime = config.getInt("anti-bot.expire", 5);
|
||||
rateLimiter = new RateLimiter(maxCon, expireTime * 60 * 1_000);
|
||||
Set<Proxy> proxies = config.getStringList("proxies")
|
||||
.stream()
|
||||
|
Reference in New Issue
Block a user