1
0
mirror of https://github.com/containous/traefik.git synced 2025-10-16 23:33:20 +03:00

Set default ReadTimeout value to 60s

Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
This commit is contained in:
Romain
2024-04-11 17:18:03 +02:00
committed by GitHub
parent 584839e00b
commit 240b83b773
5 changed files with 6 additions and 9 deletions

View File

@@ -402,14 +402,14 @@ Setting them has no effect for UDP entryPoints.
??? info "`transport.respondingTimeouts.readTimeout`"
_Optional, Default=5s_
_Optional, Default=60s_
`readTimeout` is the maximum duration for reading the entire request, including the body.
If zero, no timeout exists.
Can be provided in a format supported by [time.ParseDuration](https://golang.org/pkg/time/#ParseDuration) or as raw values (digits).
If no units are provided, the value is parsed assuming seconds.
For requests with large payloads, this timeout value might be increased.
We strongly suggest to adapt this value accordingly to the your needs.
```yaml tab="File (YAML)"
## Static configuration