WarmUpController的warningTakens的计算方式 #3394
Dynasty-develop
started this conversation in
General
Replies: 1 comment
-
有没有人可以帮忙解释下 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
下面两步是warningTokens的推导过程
1.stableInterval * warningTokens + warmUpPeriod = coldFactor * stableInterval * warningTokens
2.warningTokens=warmUpPeriod/stableInterval/(coldFactor-1)
这里第一步推导到第二步是不是有问题呢,我觉得正确的推到是warningTokens=warmUpPeriod/(stableInterval*(coldFactor-1)),为什么源代码里面也是第二步的结果?怎么解析啊
Beta Was this translation helpful? Give feedback.
All reactions