diff --git a/configuration.go b/configuration.go index 7013455c7..ba69f00b9 100644 --- a/configuration.go +++ b/configuration.go @@ -392,6 +392,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 9980a4b1f..edde70544 100644 --- a/docs/toml.md +++ b/docs/toml.md @@ -1005,12 +1005,14 @@ domain = "mesos.localhost" # Zookeeper timeout (in seconds) # # Optional +# Default: 30 # # ZkDetectionTimeout = 30 # Polling interval (in seconds) # # Optional +# Default: 30 # # RefreshSeconds = 30 @@ -1023,8 +1025,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 2c83caacb..9de58ad7d 100644 --- a/traefik.sample.toml +++ b/traefik.sample.toml @@ -630,12 +630,14 @@ # Zookeeper timeout (in seconds) # # Optional +# Default: 30 # # ZkDetectionTimeout = 30 # Polling interval (in seconds) # # Optional +# Default: 30 # # RefreshSeconds = 30 @@ -648,8 +650,9 @@ # HTTP Timeout (in seconds) # # Optional +# Default: 30 # -# StateTimeoutSecond = "host" +# StateTimeoutSecond = "30" ################################################################ # Kubernetes Ingress configuration backend