Closed thelinuxlich closed 9 years ago
app.use(ratelimit({ db: redis.createClient(), duration: 60000, max: 100 }));
Does this mean that each ip can send 100 requests per minute and if it tries to send more, it is blocked for 1 minute?
yep
It it blocks how it looks like? Acctually how to use this middleware in practice?
Does this mean that each ip can send 100 requests per minute and if it tries to send more, it is blocked for 1 minute?