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
+1 -1
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,
}