Count the client registration limit in fluentcms.rate_limit.refused
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 62/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- csharp
- 领域
- backend, observability
调研方向
从 DynamicClientRegistration 开始,其中 ClientRegistrationLimiter.TryAcquire 的拒绝会返回 429 和 LimitErrorCodes.RateLimited。然后找到为其他六个策略记录 fluentcms.rate_limit.refused 的位置,并在该位置添加策略值 client-registration。当超过 registrationsPerHour 的测试能在该策略名称下显示计数器时即完成。规范 4.15 和发布说明也需要加入这个新值。
由索引模型根据 Issue 内容生成。
描述
Found in the review of #3550 (#3385).
Problem
DynamicClientRegistration answers 429 with LimitErrorCodes.RateLimited when ClientRegistrationLimiter.TryAcquire refuses (the registrationsPerHour limit), but nothing records it in fluentcms.rate_limit.refused, so only the six policies of #3385 are counted. A client that floods /connect/register is refused without the counter moving.
Proposal
Record it under a new fluentcms.policy value such as client-registration, and add the value to spec 4.15 and the release note.
Acceptance
- A registration refused by the limit counts under its own policy name
- A test that exceeds
registrationsPerHour
Follows #3550.
- 主要语言
- C#
- 星标
- 567
- 派生
- 107
- 平均合并
- 2 小时 35 分钟
- 30 天内合并 PR
- 425
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluentcms/FluentCMS 的其他 Issue
-
area:identity type:bug
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
area:events area:jobs area:settings area:storage type:chore
难度 5/5 一周以上 新手友好度 18/100
维护者通常 1 天内回复
-
area:admin type:chore
难度 5/5 一周以上 新手友好度 12/100
维护者通常 1 天内回复
-
area:authorization area:identity type:chore
难度 5/5 一周以上 新手友好度 8/100
维护者通常 1 天内回复
-
area:content type:chore
难度 5/5 一周以上 新手友好度 12/100
维护者通常 1 天内回复
查看 fluentcms/FluentCMS 的全部 Issue
相似的 Issue
-
area-CodeGen-coreclr untriaged
难度 2/5 1-3 小时 新手友好度 65/100
dotnet/runtime#138181 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-area-label
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
bug 🐞
难度 2/5 1-3 小时 新手友好度 72/100
valkey-io/valkey-glide#7849 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
bitfoundation/bitplatform#15455 ·
维护者通常 1 天内回复
-
area-Asset area-GameStudio area-Samples bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复