Skip to content

Commit 3897e9e

Browse files
committed
Add small wording change
1 parent 75c5f62 commit 3897e9e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

site/content/how-to/traffic-management/snippets.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,8 @@ spec:
147147
EOF
148148
```
149149

150-
This `SnippetsFilter` defines two Snippets to configure rate limiting for this HTTPRoute and the
151-
backend coffee application. The first one injects the value: `limit_req_zone \$binary_remote_addr zone=no-delay-rate-limiting-sf:10m rate=1r/s;`
152-
into the `http` context. The second one injects the value: `limit_req zone=no-delay-rate-limiting-sf burst=3 nodelay;` into the location(s) for `/coffee`.
150+
This `SnippetsFilter` defines two Snippets to configure rate limiting. The first Snippet injects the value: `limit_req_zone \$binary_remote_addr zone=no-delay-rate-limiting-sf:10m rate=1r/s;`
151+
into the `http` context. The second Snippet injects the value: `limit_req zone=no-delay-rate-limiting-sf burst=3 nodelay;` into the location(s) generated for the routing rule.
153152
This `SnippetsFilter` will limit the request processing rate to 1 request per second, and if there
154153
are more than 3 requests in queue, it will throw a 503 error.
155154

0 commit comments

Comments
 (0)