fix GraceTimeOut description
Documentation stated that GraceTimeOut describes the timeout between hot-reloads, which is not the case. GraceTimeOut describes the timeout Traefik uses to finish serving active requests before stopping only.
This commit is contained in:
parent
40d9058bb6
commit
cd28e7b24f
3 changed files with 9 additions and 9 deletions
|
@ -9,10 +9,10 @@
|
|||
# Global configuration
|
||||
################################################################
|
||||
|
||||
# Duration to give active requests a chance to finish during hot-reloads.
|
||||
# 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.
|
||||
# Duration to give active requests a chance to finish before Traefik stops.
|
||||
# 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.
|
||||
# Note: in this time frame no new requests are accepted.
|
||||
#
|
||||
# Optional
|
||||
# Default: "10s"
|
||||
|
|
|
@ -40,7 +40,7 @@ type TraefikConfiguration struct {
|
|||
// GlobalConfiguration holds global configuration (with providers, etc.).
|
||||
// It's populated from the traefik configuration file passed as an argument to the binary.
|
||||
type GlobalConfiguration struct {
|
||||
GraceTimeOut flaeg.Duration `short:"g" description:"Duration to give active requests a chance to finish during hot-reload"`
|
||||
GraceTimeOut flaeg.Duration `short:"g" description:"Duration to give active requests a chance to finish before Traefik stops"`
|
||||
Debug bool `short:"d" description:"Enable debug mode"`
|
||||
CheckNewVersion bool `description:"Periodically check if a new version has been released"`
|
||||
AccessLogsFile string `description:"(Deprecated) Access logs file"` // Deprecated
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
# Global configuration
|
||||
################################################################
|
||||
|
||||
# Duration to give active requests a chance to finish during hot-reloads.
|
||||
# Can be provided in a format supported by Go's time.ParseDuration function or
|
||||
# as raw values (digits). If no units are provided, the value is parsed assuming
|
||||
# seconds.
|
||||
# Duration to give active requests a chance to finish before Traefik stops.
|
||||
# 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.
|
||||
# Note: in this time frame no new requests are accepted.
|
||||
#
|
||||
# Optional
|
||||
# Default: "10s"
|
||||
|
|
Loading…
Reference in a new issue