3 days bench bonus, hopefully better bans, naxx items
This commit is contained in:
@@ -68,15 +68,16 @@ export class FrontworkAdmin
|
||||
}
|
||||
|
||||
async start() {
|
||||
const ONE_REQUEST = 15
|
||||
let port: number = this.config.getConfig().httpPort
|
||||
const rateLimiter = new BurstyRateLimiter(
|
||||
new RateLimiterMemory({
|
||||
points: 2,
|
||||
points: 2*ONE_REQUEST,
|
||||
duration: 1,
|
||||
}),
|
||||
new RateLimiterMemory({
|
||||
keyPrefix: 'burst',
|
||||
points: 60,
|
||||
points: 5*ONE_REQUEST,
|
||||
duration: 60,
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user