revert
revert copied to clipboard
feat: support for subscription based rate limit customization
Description
Fixes #562
This PR introduces the feature of API rate limit on tenantId basis. Earlier it was IP based. The rate limit is descided based on the subscription of the account. I have used the rate-limiter-flexible package to impliment the rate limiter.
Type of change
- [X] New feature (non-breaking change which adds functionality)
- [X] This change requires a documentation update
Checklist:
- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my code
- [X] I have commented my code, particularly in hard-to-understand areas
- [X] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
@shadab14meb346 is attempting to deploy a commit to the OpenInt Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for following the naming conventions for pull request titles! 🙏
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| revert-client | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 14, 2024 2:08am |