Skip to main content

Module ratelimit_section

Module ratelimit_section 

Source
Expand description

接口限流分区:各限流桶(含 MCP 令牌桶)的每秒请求数与突发上限、日限额与回收间隔。

写入数据库,下次启动生效(限流桶在首次请求时从启动配置构建)。

Structs§

RateLimitSectionProps
Props for the RateLimitSection component.

Constants§

BUCKETS 🔒

Functions§

RateLimitSection
接口限流分区组件。
save 🔒

Type Aliases§

Bucket 🔒
一个限流桶:每秒请求数与突发上限两个字段。