mirror of
https://github.com/traefik/traefik.git
synced 2025-05-05 23:43:01 +00:00
Add a note about how to disable connection reuse with backends
This commit is contained in:
parent
160edff257
commit
9bc71b0010
@ -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…
x
Reference in New Issue
Block a user