Add rate limiting for any API calls
Review Request #8839 — Created March 24, 2017 and discarded — Latest diff uploaded
There's been a request to create a rate-limit for API calls. I have updated the ratelimit.py file that will allow rate limiting of API calls by either an authenticated user or an IP address.
None at the moment.
Diff Revision 10
This is not the most recent revision of the diff. The latest diff is revision 11. See what's changed.
orig
1
2
3
4
5
6
7
8
9
10
11
djblets/settings.py |
---|
djblets/auth/ratelimit.py |
---|
djblets/webapi/resources/mixins/api_ratelimit.py |
---|
djblets/webapi/tests/test_api_ratelimit.py |
---|
tests/settings.py |
---|