Skip to content

Commit 7fb30dd

Browse files
author
Barath Raghavan
committed
Adjusts round robin's increment.
1 parent defebbc commit 7fb30dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/traffic_class.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ void RoundRobinTrafficClass::FinishAndAccountTowardsRoot(
383383
blocked_children_.push_back(child);
384384
blocked_ = children_.empty();
385385
} else {
386-
++next_child_;
386+
next_child_ += usage[RESOURCE_COUNT];
387387
}
388388

389389
// Wrap around for round robin.

0 commit comments

Comments
 (0)