mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
Updated Rate Limiting Cite
The current link was broken, fixed it. A good article on rate limiting indeed.
This commit is contained in:
parent
247cf096d4
commit
e3f9c65362
|
@ -190,7 +190,7 @@ The following is an example of a rate throttle, that will randomly throttle 1 in
|
||||||
def allow_request(self, request, view):
|
def allow_request(self, request, view):
|
||||||
return random.randint(1, 10) != 1
|
return random.randint(1, 10) != 1
|
||||||
|
|
||||||
[cite]: https://dev.twitter.com/docs/error-codes-responses
|
[cite]: https://developer.twitter.com/en/docs/basics/rate-limiting
|
||||||
[permissions]: permissions.md
|
[permissions]: permissions.md
|
||||||
[identifing-clients]: http://oxpedia.org/wiki/index.php?title=AppSuite:Grizzly#Multiple_Proxies_in_front_of_the_cluster
|
[identifing-clients]: http://oxpedia.org/wiki/index.php?title=AppSuite:Grizzly#Multiple_Proxies_in_front_of_the_cluster
|
||||||
[cache-setting]: https://docs.djangoproject.com/en/stable/ref/settings/#caches
|
[cache-setting]: https://docs.djangoproject.com/en/stable/ref/settings/#caches
|
||||||
|
|
Loading…
Reference in New Issue
Block a user