0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

proxy: Only wait 250ms between backend tries

This commit is contained in:
Matthew Holt 2016-09-27 17:49:00 -06:00
parent 617012c3fb
commit 6397a85e50
No known key found for this signature in database
GPG key ID: 0D97CC73664F4D03

View file

@ -56,7 +56,7 @@ func NewStaticUpstreams(c caddyfile.Dispenser) ([]Upstream, error) {
Hosts: nil,
Policy: &Random{},
MaxFails: 1,
TryInterval: 1 * time.Second,
TryInterval: 250 * time.Millisecond,
MaxConns: 0,
KeepAlive: http.DefaultMaxIdleConnsPerHost,
}