Add a note about how to disable connection reuse with backends
This commit is contained in:
parent
160edff257
commit
9bc71b0010
1 changed files with 5 additions and 0 deletions
|
@ -325,6 +325,11 @@ serversTransport:
|
||||||
--serversTransport.maxIdleConnsPerHost=7
|
--serversTransport.maxIdleConnsPerHost=7
|
||||||
```
|
```
|
||||||
|
|
||||||
|
!!! info "Disable connection reuse"
|
||||||
|
|
||||||
|
The default value of `maxIdleConnsPerHost` is 2, and the zero value is the fallback to the default (2).
|
||||||
|
If you want to disable connection reuse, set `maxIdleConnsPerHost` to -1.
|
||||||
|
|
||||||
### `forwardingTimeouts`
|
### `forwardingTimeouts`
|
||||||
|
|
||||||
`forwardingTimeouts` is about a number of timeouts relevant to when forwarding requests to the backend servers.
|
`forwardingTimeouts` is about a number of timeouts relevant to when forwarding requests to the backend servers.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue