vault backup: 2026-06-01 10:06:16

This commit is contained in:
2026-06-01 10:06:16 +08:00
parent f67dbcbc15
commit 65da199749
6 changed files with 254 additions and 158 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ count < maxLen → 放行,插入新记录
flowchart LR
A[请求到达] --> B[ZREMRANGEBYSCORE<br/>删过期]
B --> C[ZCARD<br/>数一数]
C --> D{>= max?}
C --> D{超过max?}
D -- 否 --> E[ZADD 插入<br/>EXPIRE 设过期]
D -- 是 --> F[返回 429 拒绝]