Bit more clean up around probe controller refactor (#3227)

* Bit more clean up around probe controller refactor

* consistent order
This commit is contained in:
Raja Subramanian
2024-12-02 13:36:27 +05:30
committed by GitHub
parent ceefa8d150
commit 12b3da0a40
3 changed files with 7 additions and 21 deletions
+2 -1
View File
@@ -278,7 +278,7 @@ func (r *RemoteBWE) newChannelObserver() {
},
r.params.Logger,
)
r.channelObserver.SeedEstimate(r.lastReceivedEstimate)
r.channelObserver.SeedEstimate(r.committedChannelCapacity)
} else {
r.channelObserver = newChannelObserver(
channelObserverParams{
@@ -321,6 +321,7 @@ func (r *RemoteBWE) ProbeClusterDone(_pci ccutils.ProbeClusterInfo) (bool, int64
"lastReceived", r.lastReceivedEstimate,
"expectedBandwidthUsage", r.lastExpectedBandwidthUsage,
"channel", pco,
"isSignalValid", pco.HasEnoughEstimateSamples(),
)
if !pco.HasEnoughEstimateSamples() {