Commit 6397a85e authored by Matthew Holt's avatar Matthew Holt

proxy: Only wait 250ms between backend tries

parent 617012c3
...@@ -56,7 +56,7 @@ func NewStaticUpstreams(c caddyfile.Dispenser) ([]Upstream, error) { ...@@ -56,7 +56,7 @@ func NewStaticUpstreams(c caddyfile.Dispenser) ([]Upstream, error) {
Hosts: nil, Hosts: nil,
Policy: &Random{}, Policy: &Random{},
MaxFails: 1, MaxFails: 1,
TryInterval: 1 * time.Second, TryInterval: 250 * time.Millisecond,
MaxConns: 0, MaxConns: 0,
KeepAlive: http.DefaultMaxIdleConnsPerHost, KeepAlive: http.DefaultMaxIdleConnsPerHost,
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment