Attempt to reduce disruption due to probe. (#1839)

* Make congestion controller probe config

* Wait for enough estimate samples

* fixes

* format

* limit number of times a packet is ACKed

* ramp up probe duration

* go format

* correct comment

* restore default

* add float64 type to generated CLI
This commit is contained in:
Raja Subramanian
2023-06-30 11:09:46 +05:30
committed by GitHub
parent 3de1e49165
commit 69a1e572be
7 changed files with 192 additions and 102 deletions
+4
View File
@@ -122,6 +122,10 @@ func (t *TrendDetector) GetDirection() TrendDirection {
return t.direction
}
func (t *TrendDetector) HasEnoughSamples() bool {
return t.numSamples >= t.params.RequiredSamples
}
func (t *TrendDetector) ToString() string {
now := time.Now()
elapsed := now.Sub(t.startTime).Seconds()