Use contiguous groups to determine queuing region. (#3308)

This commit is contained in:
Raja Subramanian
2025-01-07 04:00:39 +05:30
committed by GitHub
parent ec54d357e4
commit 0dde347615
2 changed files with 23 additions and 22 deletions
@@ -1065,6 +1065,12 @@ func (s *StreamAllocator) maybeStopProbe() {
func (s *StreamAllocator) maybeBoostDeficientTracks() {
availableChannelCapacity := s.getAvailableHeadroom(false)
if availableChannelCapacity <= 0 {
s.params.Logger.Infow(
"stream allocator: no available headroom to boost deficient tracks",
"committedChannelCapacity", s.committedChannelCapacity,
"availableChannelCapacity", availableChannelCapacity,
"expectedBandwidthUsage", s.getExpectedBandwidthUsage(),
)
return
}