Skip to content

Add GitHub project links and update Nginx port mapping - #3

Merged
codename-test merged 2 commits into
mainfrom
dev
Jul 28, 2026
Merged

codename-test merged 2 commits into
mainfrom
dev

Conversation

@codename-test

Copy link
Copy Markdown
Owner

No description provided.

@codename-test
codename-test merged commit b1cda10 into main Jul 28, 2026
1 check passed
codename-test added a commit that referenced this pull request Sep 26, 2026
v1.3.1 改进清单 #3。

- 根因:通道 429/408 错误未被识别,既可能误触熔断、又会把
  可恢复限流当成失败消耗重试。
- HTTP 通道(bark/dingtalk/feishu/telegram/wechat_work_api/
  wechat_work_bot)send 中新增 resp.status_code in (429,408) 检测,
  返回 'HTTP {code}: {text[:200]}'。
- circuit_breaker:新增 is_throttle()(429/408/too many requests/rate
  limit/...),classify 对限流返回 False(不计熔断失败)。
- sender_engine:_send_via_channel 遇限流 → blocked=True,
  reason='throttle',返回 ok=None(defer 信号);process_queue_item
  对 reason='throttle' 用 THROTTLE_DEFER_SECONDS=30 延迟重排
  (不消耗重试次数)。
- 测试:新增 TestThrottleDefer(429/408 → deferred、reason=throttle、
  defer_seconds=30、retry_count 不变、breaker 未打开)。

全量 305 passed。

Co-Authored-by: QwenPaw <qwenpaw@qwenpaw.ai>
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