Run bandwidth estimation when congestion is relieved also (#3380)
This commit is contained in:
@@ -1029,7 +1029,8 @@ func (c *congestionDetector) updateCTRTrend(pi *packetInfo, sendDelta, recvDelta
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *congestionDetector) estimateAvailableChannelCapacity() {
|
func (c *congestionDetector) estimateAvailableChannelCapacity() {
|
||||||
if len(c.packetGroups) == 0 || c.congestedCTRTrend != nil || c.probePacketGroup != nil {
|
c.estimateTrafficStats = nil
|
||||||
|
if len(c.packetGroups) == 0 || c.probePacketGroup != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user