Skip to content

Commit 9b334b0

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: Fixed image path
2 parents 34ff6fa + 5c64519 commit 9b334b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rate_limiter.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ squares).
3838

3939
.. raw:: html
4040

41-
<object data="../_images/rate_limiter/fixed_window.svg" type="image/svg+xml"></object>
41+
<object data="_images/rate_limiter/fixed_window.svg" type="image/svg+xml"></object>
4242

4343
Its main drawback is that resource usage is not evenly distributed in time and
4444
it can overload the server at the window edges. In the previous example,
@@ -59,7 +59,7 @@ using a 1 hour window that slides over the timeline:
5959

6060
.. raw:: html
6161

62-
<object data="../_images/rate_limiter/sliding_window.svg" type="image/svg+xml"></object>
62+
<object data="_images/rate_limiter/sliding_window.svg" type="image/svg+xml"></object>
6363

6464
As you can see, this removes the edges of the window and would prevent the
6565
6th request at 11:45.
@@ -93,7 +93,7 @@ of 1 token per 15 minutes:
9393

9494
.. raw:: html
9595

96-
<object data="../_images/rate_limiter/token_bucket.svg" type="image/svg+xml"></object>
96+
<object data="_images/rate_limiter/token_bucket.svg" type="image/svg+xml"></object>
9797

9898
This algorithm handles more complex back-off algorithm to manage bursts.
9999
For instance, it can allow a user to try a password 5 times and then only

0 commit comments

Comments
 (0)