Skip to content
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

流控规则可以支持天吗?我想给某个租户设置一天请求接口100次 #3103

Open
kiwi-field opened this issue Apr 25, 2023 · 1 comment
Labels
area/flow-control Issues or PRs related to flow control duplicate This issue or pull request already exists kind/feature Category issues or prs related to feature request.

Comments

@kiwi-field
Copy link

Issue Description

流控规则支持一天限制100次怎么配置

Type: feature request

应该能支持天、周这样设置时间单位

Add any other context or screenshots about the feature request here.
image

@sczyh30 sczyh30 added kind/feature Category issues or prs related to feature request. duplicate This issue or pull request already exists area/flow-control Issues or PRs related to flow control labels Apr 25, 2023
@quqiangsheng
Copy link

可以参考热点参数流控检查规则的代码,主要是多了一个系数 acquireCount * rule.getDurationInSec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/flow-control Issues or PRs related to flow control duplicate This issue or pull request already exists kind/feature Category issues or prs related to feature request.
Projects
None yet
Development

No branches or pull requests

3 participants