-
-
Notifications
You must be signed in to change notification settings - Fork 2
Sliding Window Counter Functionality Complete #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
shalarewicz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Minor change and one edge case to handle
evanmcneely
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two additional things need to be done for this algorithm to integrate with the middleware to be used.
- In rate.limit.d.ts,
RateLimitOptions(line 51) needs to include configuration options for this rate limit algorithm. Create a new interface with configuration options and add it here. - In rateLimitSetup.ts, add the instantiation for this rate limiting class in the appropriate location.
evanmcneely
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just marking this as requesting changes for previous comment
Summary
The sliding window counter is completed and passing all tests.
Type of Change
Issues
#65
Evidence