Skip to content

Commit 0fdf98b

Browse files
committed
backend_depth_limit
1 parent f5a9127 commit 0fdf98b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

content/features/proxy/settings-reference.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,20 @@ compiled with `--enable-proxy-tls` option.
3535

3636
The time, in fractional seconds, before an attempted connection between the proxy and a backend times out.
3737

38+
## <code>backend_depth_limit</code>
39+
40+
<table>
41+
<tr><th>Type</th><td><code>integer</code></td></tr>
42+
<tr><th>Default</th><td><code>0</code></td></tr>
43+
</table>
44+
45+
The maximum number of requests which can be enqueued on a backend before
46+
fast-failing further requests. This limits memory usage and client delays if a
47+
backend is having network problems. This should be set to lower than
48+
`active_req_limit` if used.
49+
50+
If set to `0`, then the proxy does not impose this limit.
51+
3852
## <code>backend_failure_limit</code>
3953

4054
<table>

0 commit comments

Comments
 (0)