revert icon indicating copy to clipboard operation
revert copied to clipboard

feat: support for subscription based rate limit customization

Open shadab14meb346 opened this issue 1 year ago • 3 comments

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 avatar May 08 '24 21:05 shadab14meb346

@shadab14meb346 is attempting to deploy a commit to the OpenInt Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 08 '24 21:05 vercel[bot]

Thank you for following the naming conventions for pull request titles! 🙏

github-actions[bot] avatar May 08 '24 21:05 github-actions[bot]

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

vercel[bot] avatar May 14 '24 02:05 vercel[bot]