WarmUpController中token计算疑问 #2785
Unanswered
DoubleStarStar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
if (oldValue < warningToken) { newValue = (long) (oldValue + (currentTime - lastFilledTime.get()) * count / 1000); } else if (oldValue > warningToken) { if (passQps < (int) count / coldFactor) { newValue = (long) (oldValue + (currentTime - lastFilledTime.get()) * count / 1000); } }当处于预热期,计算newValue为什么不是newValue = (long) (oldValue + (currentTime - lastFilledTime.get()) * count / coldFactor/1000);
Beta Was this translation helpful? Give feedback.
All reactions