Try up-allocation on neutral trend. (#3235)
* Try up-allocation on neutral trend. Some probes end up with neutral trend due to getting much estimates of same value. It is okay to try up-allocating in those cases. Otherwise, the stream allocator some times gets stuck and does not up-allocate at all as all probes end up neutral. Changing the name of the signal to `NotCongesting` to signify it is either neutral or clearing. * wait 5 RTT for probe to finalize * trend detector object encoder
This commit is contained in:
@@ -23,7 +23,7 @@ type ProbeSignal int
|
||||
const (
|
||||
ProbeSignalInconclusive ProbeSignal = iota
|
||||
ProbeSignalCongesting
|
||||
ProbeSignalClearing
|
||||
ProbeSignalNotCongesting
|
||||
)
|
||||
|
||||
func (p ProbeSignal) String() string {
|
||||
@@ -32,8 +32,8 @@ func (p ProbeSignal) String() string {
|
||||
return "INCONCLUSIVE"
|
||||
case ProbeSignalCongesting:
|
||||
return "CONGESTING"
|
||||
case ProbeSignalClearing:
|
||||
return "CLEARING"
|
||||
case ProbeSignalNotCongesting:
|
||||
return "NOT_CONGESTING"
|
||||
default:
|
||||
return fmt.Sprintf("%d", int(p))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user