Skip to content

Commit

Permalink
admission: avoid spurious logging when not in IO overload
Browse files Browse the repository at this point in the history
I broke this in #80859.

Release note: None
  • Loading branch information
tbg committed May 23, 2022
1 parent 92947c2 commit 2354f8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/util/admission/granter.go
Original file line number Diff line number Diff line change
Expand Up @@ -1909,6 +1909,7 @@ func (*ioLoadListener) adjustTokensInner(
numTokens := intL0CompactedBytes
smoothedTotalNumByteTokens = alpha*float64(numTokens) + (1-alpha)*prev.smoothedTotalNumByteTokens
totalNumByteTokens = unlimitedTokens
doLog = false
}
// Install the latest cumulative stats.
return adjustTokensResult{
Expand Down

0 comments on commit 2354f8d

Please sign in to comment.