diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/http/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/http/config.go b/service/http/config.go index 3e08c72d..a15edb35 100644 --- a/service/http/config.go +++ b/service/http/config.go @@ -44,6 +44,10 @@ func (c *Config) Hydrate(cfg service.Config) error { c.Workers.Relay = "pipes" } + c.Workers.MountDefaults() + + // nanosecond to second conversion + if c.Workers.RelayTimeout < time.Microsecond { c.Workers.RelayTimeout = time.Second * time.Duration(c.Workers.RelayTimeout.Nanoseconds()) } |