Expand description
接口限流分区:各限流桶(含 MCP 令牌桶)的每秒请求数与突发上限、日限额与回收间隔。
写入数据库,下次启动生效(限流桶在首次请求时从启动配置构建)。
Structs§
- Rate
Limit Section Props - Props for the
RateLimitSectioncomponent.
Constants§
- BUCKETS 🔒
Functions§
- Rate
Limit Section - 接口限流分区组件。
- save 🔒
Type Aliases§
- Bucket 🔒
- 一个限流桶:每秒请求数与突发上限两个字段。