Skip to content

Conversation

@jondeweydev
Copy link
Collaborator

Summary

The sliding window counter is completed and passing all tests.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Issues

#65

Evidence

Screen Shot 2022-07-15 at 2 00 44 AM

Copy link
Collaborator

@shalarewicz shalarewicz left a 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

Copy link
Contributor

@evanmcneely evanmcneely left a 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.

  1. 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.
  2. In rateLimitSetup.ts, add the instantiation for this rate limiting class in the appropriate location.

@evanmcneely evanmcneely reopened this Jul 19, 2022
Copy link
Contributor

@evanmcneely evanmcneely left a 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

@jondeweydev
Copy link
Collaborator Author

Closes #80 Closes #65 Closes #70

@jondeweydev jondeweydev merged commit ea78c13 into dev Jul 25, 2022
@jondeweydev jondeweydev deleted the jd/slide branch July 25, 2022 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants