|
@ -91,8 +91,9 @@ func (h *Handler) Provision(ctx caddy.Context) error { |
|
|
if h.Transport == nil { |
|
|
if h.Transport == nil { |
|
|
t := &HTTPTransport{ |
|
|
t := &HTTPTransport{ |
|
|
KeepAlive: &KeepAlive{ |
|
|
KeepAlive: &KeepAlive{ |
|
|
ProbeInterval: caddy.Duration(30 * time.Second), |
|
|
ProbeInterval: caddy.Duration(30 * time.Second), |
|
|
IdleConnTimeout: caddy.Duration(2 * time.Minute), |
|
|
IdleConnTimeout: caddy.Duration(2 * time.Minute), |
|
|
|
|
|
MaxIdleConnsPerHost: 32, |
|
|
}, |
|
|
}, |
|
|
DialTimeout: caddy.Duration(10 * time.Second), |
|
|
DialTimeout: caddy.Duration(10 * time.Second), |
|
|
} |
|
|
} |
|
|