Fix default value of docker client timeout
This commit is contained in:
parent
050968cbac
commit
5e63ab619e
5 changed files with 6 additions and 7 deletions
|
@ -213,8 +213,8 @@ func (c *Configuration) SetEffectiveConfiguration() {
|
|||
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.Docker.HTTPClientTimeout < 0 {
|
||||
c.Providers.Docker.HTTPClientTimeout = 0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue