Merge pull request #1398 from containous/fix-default-timeouts-for-marathon-provider
Fix default timeouts for Marathon provider.
This commit is contained in:
commit
9c9015a7b1
1 changed files with 2 additions and 2 deletions
|
@ -371,8 +371,8 @@ func NewTraefikDefaultPointersConfiguration() *TraefikConfiguration {
|
||||||
defaultMarathon.Endpoint = "http://127.0.0.1:8080"
|
defaultMarathon.Endpoint = "http://127.0.0.1:8080"
|
||||||
defaultMarathon.ExposedByDefault = true
|
defaultMarathon.ExposedByDefault = true
|
||||||
defaultMarathon.Constraints = types.Constraints{}
|
defaultMarathon.Constraints = types.Constraints{}
|
||||||
defaultMarathon.DialerTimeout = 60
|
defaultMarathon.DialerTimeout = flaeg.Duration(60 * time.Second)
|
||||||
defaultMarathon.KeepAlive = 10
|
defaultMarathon.KeepAlive = flaeg.Duration(10 * time.Second)
|
||||||
|
|
||||||
// default Consul
|
// default Consul
|
||||||
var defaultConsul consul.Provider
|
var defaultConsul consul.Provider
|
||||||
|
|
Loading…
Reference in a new issue