Updated Rate Limiting Cite

The current link was broken, fixed it. A good article on rate limiting indeed.
This commit is contained in:
Shreyans Sheth 2018-03-19 14:24:21 +05:30 committed by GitHub
parent 247cf096d4
commit e3f9c65362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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