mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #85257 from yutedz/queueset-robin-idx
Correct the checking of robinIndex
This commit is contained in:
commit
8dffc8db4f
@ -568,7 +568,7 @@ func (qs *queueSet) finishRequestLocked(r *request) {
|
|||||||
|
|
||||||
// decrement here to maintain the invariant that (qs.robinIndex+1) % numQueues
|
// decrement here to maintain the invariant that (qs.robinIndex+1) % numQueues
|
||||||
// is the index of the next queue after the one last dispatched from
|
// is the index of the next queue after the one last dispatched from
|
||||||
if qs.robinIndex >= -r.Queue.Index {
|
if qs.robinIndex >= r.Queue.Index {
|
||||||
qs.robinIndex--
|
qs.robinIndex--
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user