Skip to content
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

[feat]: Generalized ratelimit default limits passed as args #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

crispycrispycrispy
Copy link

[feat]: Generalized ratelimit default limits passed as args and also default limits set for each request method

@crispycrispycrispy
Copy link
Author

@arpitagarwal35
This PR consists of 2 main features added inside the ratelimiter only

  1. Ability to add ratelimiting on GET requests
    will return 429 status code if ratelimit is exceeded.

  2. Ability to pass custom values for maximum ratelimit and blocking duration from calling functions.
    Default values added as well. If passed arguments exist, then default values are overridden with passed arguments.

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.

2 participants