plugin/forward: min and max for avgRTT (#1680)
* Move to readtimeout * lets compile * address comment * comment from pr * much smaller minimum
This commit is contained in:
parent
cd7928f180
commit
573ad62b77
2 changed files with 8 additions and 2 deletions
|
@ -91,5 +91,7 @@ func (p *Proxy) start(duration time.Duration) { p.probe.Start(duration) }
|
|||
const (
|
||||
dialTimeout = 4 * time.Second
|
||||
timeout = 2 * time.Second
|
||||
maxTimeout = 2 * time.Second
|
||||
minTimeout = 10 * time.Millisecond
|
||||
hcDuration = 500 * time.Millisecond
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue