You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i agree the debugger is wrong, but right there you do want the max - 1. The headers are adjusted again lower in the function look for ctx.set(remaining, n - 1);
koa-simple-ratelimit/index.js
Line 85 in 8329782
remaining should be opts.n not opts.max
The debug statement is also incorrect
The text was updated successfully, but these errors were encountered: