diff --git a/configuration.go b/configuration.go index 5286897fb..dca77f806 100644 --- a/configuration.go +++ b/configuration.go @@ -408,6 +408,9 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration { defaultMesos.Endpoint = "http://127.0.0.1:5050" defaultMesos.ExposedByDefault = true defaultMesos.Constraints = types.Constraints{} + defaultMesos.RefreshSeconds = 30 + defaultMesos.ZkDetectionTimeout = 30 + defaultMesos.StateTimeoutSecond = 30 //default ECS var defaultECS provider.ECS diff --git a/docs/toml.md b/docs/toml.md index e3595d0b3..0972ff3cd 100644 --- a/docs/toml.md +++ b/docs/toml.md @@ -1050,12 +1050,14 @@ domain = "mesos.localhost" # Zookeeper timeout (in seconds) # # Optional +# Default: 30 # # ZkDetectionTimeout = 30 # Polling interval (in seconds) # # Optional +# Default: 30 # # RefreshSeconds = 30 @@ -1068,8 +1070,9 @@ domain = "mesos.localhost" # HTTP Timeout (in seconds) # # Optional +# Default: 30 # -# StateTimeoutSecond = "host" +# StateTimeoutSecond = "30" ``` ## Kubernetes Ingress backend diff --git a/traefik.sample.toml b/traefik.sample.toml index b3b0f7e96..e5e2d073b 100644 --- a/traefik.sample.toml +++ b/traefik.sample.toml @@ -654,12 +654,14 @@ # Zookeeper timeout (in seconds) # # Optional +# Default: 30 # # ZkDetectionTimeout = 30 # Polling interval (in seconds) # # Optional +# Default: 30 # # RefreshSeconds = 30 @@ -672,8 +674,9 @@ # HTTP Timeout (in seconds) # # Optional +# Default: 30 # -# StateTimeoutSecond = "host" +# StateTimeoutSecond = "30" ################################################################ # Kubernetes Ingress configuration backend