timeout 30s
This commit is contained in:
parent
fa4449deb0
commit
22626fcc05
|
|
@ -48,6 +48,7 @@ func buildHTTPServer(c *conf.Bootstrap, accessLogger *log2.AccessLogger, log *lo
|
||||||
if c.Server.Http.Network != "" {
|
if c.Server.Http.Network != "" {
|
||||||
opts = append(opts, http.Network(c.Server.Http.Network))
|
opts = append(opts, http.Network(c.Server.Http.Network))
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.Server.Http.Addr != "" {
|
if c.Server.Http.Addr != "" {
|
||||||
opts = append(opts, http.Address(c.Server.Http.Addr))
|
opts = append(opts, http.Address(c.Server.Http.Addr))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue