mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 19:40:13 +03:00
Correct NUM_PROXIES throttling documentation wording.
This commit is contained in:
parent
a94ffd1e6a
commit
23af9a1a22
|
@ -42,8 +42,8 @@ The default throttling policy may be set globally, using the `DEFAULT_THROTTLE_C
|
||||||
The rate descriptions used in `DEFAULT_THROTTLE_RATES` may include `second`, `minute`, `hour` or `day` as the throttle period.
|
The rate descriptions used in `DEFAULT_THROTTLE_RATES` may include `second`, `minute`, `hour` or `day` as the throttle period.
|
||||||
|
|
||||||
Additionally the number of application proxies can be set using `NUM_PROXIES`. This
|
Additionally the number of application proxies can be set using `NUM_PROXIES`. This
|
||||||
setting will allow the throttle to correctly identify unique requests there are
|
setting will allow the throttle to correctly identify unique requests when there are
|
||||||
multiple proxies in front of the server.
|
multiple application side proxies in front of the server.
|
||||||
|
|
||||||
You can also set the throttling policy on a per-view or per-viewset basis,
|
You can also set the throttling policy on a per-view or per-viewset basis,
|
||||||
using the `APIView` class based views.
|
using the `APIView` class based views.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user