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

Enable throttling #988

Merged
merged 4 commits into from
Nov 1, 2022
Merged

Enable throttling #988

merged 4 commits into from
Nov 1, 2022

Conversation

TG1999
Copy link
Contributor

@TG1999 TG1999 commented Oct 29, 2022

Enabled throttling for a basic user: 1000/day
And a staff user can have unlimited access on API

Signed-off-by: Tushar Goel [email protected]

Signed-off-by: Tushar Goel <[email protected]>
Signed-off-by: Tushar Goel <[email protected]>
@TG1999 TG1999 requested a review from pombredanne October 29, 2022 11:29
@TG1999 TG1999 linked an issue Oct 29, 2022 that may be closed by this pull request
@TG1999 TG1999 requested a review from tdruez October 31, 2022 09:37
Signed-off-by: Tushar Goel <[email protected]>
vulnerabilities/throttling.py Outdated Show resolved Hide resolved
vulnerabilities/throttling.py Outdated Show resolved Hide resolved
vulnerabilities/throttling.py Outdated Show resolved Hide resolved
vulnerabilities/throttling.py Outdated Show resolved Hide resolved
Signed-off-by: Tushar Goel <[email protected]>
@TG1999 TG1999 requested a review from tdruez November 1, 2022 13:41
@TG1999 TG1999 merged commit 6f72ecf into aboutcode-org:main Nov 1, 2022
@TG1999 TG1999 deleted the throttling branch November 1, 2022 13:53
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.

Add API rate limiting
2 participants