Skip to content

feat: add rate-limit to interface - #488

Closed
CutebreadCat wants to merge 2 commits into
west2-online:mainfrom
CutebreadCat:feat/config-mw
Closed

feat: add rate-limit to interface#488
CutebreadCat wants to merge 2 commits into
west2-online:mainfrom
CutebreadCat:feat/config-mw

Conversation

@CutebreadCat

Copy link
Copy Markdown
Contributor

自查 PR 结构

  • PR 标题符合这个格式: <type>(optional scope): <description>

  • 此 PR 标题的描述以用户为导向,足够清晰,其他人可以理解。

  • 我已经对所有 commit 提供了签名(GPG 密钥签名、SSH 密钥签名)

  • 这个 PR 属于强制变更/破坏性更改

如果是,请在 PR 标题中添加 BREAKING CHANGE 前缀,并在 PR 描述中详细说明。

这个 PR 的类型是什么?

feat

这个 PR 做了什么 / 我们为什么需要这个 PR?

在保持全局限流接口的情况下,为一些高频接口添加限流器,并且支持etcd和k8s环境下的配置热更新

(可选)这个 PR 解决了哪个/些 issue?

对 Reviewer 预留的一些提醒

@CutebreadCat
CutebreadCat requested review from a team, jiuxia211 and ozline as code owners June 4, 2026 05:44
@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main     #488      +/-   ##
==========================================
+ Coverage   63.89%   64.28%   +0.39%     
==========================================
  Files         233      233              
  Lines        6104     6104              
==========================================
+ Hits         3900     3924      +24     
+ Misses       2077     2053      -24     
  Partials      127      127              
Flag Coverage Δ
unittest 64.28% <ø> (+0.39%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant