change limits
This commit is contained in:
parent
5d18b3038d
commit
ff9ccf5ca4
@ -9,8 +9,8 @@ module.exports.init = function(app, config) {
|
|||||||
logger.info('Using ratelimiter plugin');
|
logger.info('Using ratelimiter plugin');
|
||||||
|
|
||||||
config = config || {};
|
config = config || {};
|
||||||
config.whitelistRPH = config.whitelistRPH || 5000;
|
config.whitelistRPH = config.whitelistRPH || 50000;
|
||||||
config.normalRPH = config.normalRPH || 500;
|
config.normalRPH = config.normalRPH || 1000;
|
||||||
config.blacklistRPH = config.blacklistRPH || 0;
|
config.blacklistRPH = config.blacklistRPH || 0;
|
||||||
|
|
||||||
app.use(limiter({
|
app.use(limiter({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user