Skip to content

Move throttling of request processing from middleware to rate limiter setup#105

Open
shalarewicz wants to merge 6 commits intodevfrom
sh/rate-limiter-throttle
Open

Move throttling of request processing from middleware to rate limiter setup#105
shalarewicz wants to merge 6 commits intodevfrom
sh/rate-limiter-throttle

Conversation

@shalarewicz
Copy link
Copy Markdown
Collaborator

Summary

Moves throttling request processing to rate limiter setup to ensure all rate limiters are throttled and not just that of the express middleware.

Type of Change

Please delete options that are not relevant.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Issues

  • N/A

Evidence

  • All tests continue to pass as expected.

image

@shalarewicz shalarewicz added the enhancement New feature or request label Aug 18, 2022
@shalarewicz shalarewicz force-pushed the sh/rate-limiter-throttle branch from 43116b0 to 200948d Compare August 18, 2022 02:51
Comment thread test/middleware/express.test.ts Outdated
Comment thread src/middleware/rateLimiterSetup.ts
added comments on throttled processRequest
@shalarewicz
Copy link
Copy Markdown
Collaborator Author

Addressed requested changes. Tests continue to pass.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants