Add a note about how to disable connection reuse with backends

This commit is contained in:
Romain 2025-04-28 09:10:04 +02:00 committed by GitHub
parent 160edff257
commit 9bc71b0010
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -325,6 +325,11 @@ serversTransport:
--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` is about a number of timeouts relevant to when forwarding requests to the backend servers.