Run bandwidth estimation when congestion is relieved also (#3380)

This commit is contained in:
Raja Subramanian
2025-01-30 11:57:58 +05:30
committed by GitHub
parent c90473b749
commit a4ccc7cc7f
@@ -1029,7 +1029,8 @@ func (c *congestionDetector) updateCTRTrend(pi *packetInfo, sendDelta, recvDelta
}
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
}