Support configuring a HTTP client timeout in the Docker provider
This commit is contained in:
parent
3db47f0adc
commit
29bd6faa18
9 changed files with 43 additions and 1 deletions
|
@ -210,6 +210,10 @@ func (c *Configuration) SetEffectiveConfiguration() {
|
|||
if c.Providers.Docker.SwarmModeRefreshSeconds <= 0 {
|
||||
c.Providers.Docker.SwarmModeRefreshSeconds = ptypes.Duration(15 * time.Second)
|
||||
}
|
||||
|
||||
if c.Providers.Docker.HTTPClientTimeout <= 0 {
|
||||
c.Providers.Docker.HTTPClientTimeout = ptypes.Duration(32 * time.Second)
|
||||
}
|
||||
}
|
||||
|
||||
if c.Providers.Rancher != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue