Skip to content

Commit c3235e2

Browse files
authored
Merge pull request #468 from NetSys/adjust-round-robin-tc
Adjusts round robin's increment.
2 parents c491ed7 + 7fb30dd commit c3235e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)