8000 fix ClusterMetric#tryOccupyNext return the wrong wait seconds problem by sinberCS · Pull Request #3508 · alibaba/Sentinel · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix ClusterMetric#tryOccupyNext return the wrong wait seconds problem #3508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 1.8
Choose a base branch
from

Conversation

sinberCS
Copy link

Describe what this PR does / why we need it

修复了该问题:原本Cluste 8000 rMetric#tryOccupyNext返回的等待时间直接使用了1000/sampleCount,但是在在intervalInMs不为1000ms时这不是一个窗口的时间。

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

@CLAassistant
Copy link
CLAassistant commented Mar 18, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0