Skip to content

fix(gateway): 修复仅配置 provider retry 时 429 不重试#336

Closed
Kayphoon wants to merge 2 commits intofawney19:aether-rust-pioneerfrom
Kayphoon:aether-rust-pioneer
Closed

fix(gateway): 修复仅配置 provider retry 时 429 不重试#336
Kayphoon wants to merge 2 commits intofawney19:aether-rust-pioneerfrom
Kayphoon:aether-rust-pioneer

Conversation

@Kayphoon
Copy link
Copy Markdown
Contributor

Summary

  • attempt.rs: 从 failover_rules/endpoint/provider 三级读取 max_retries 生成本地 attempt slots,支持配置 provider retry 后 429 自动重试,限制最大 99 并兼容 legacy 默认值 2

Verification

  • cargo fmt --manifest-path apps/aether-gateway/Cargo.toml -- --check
  • cargo test --manifest-path apps/aether-gateway/Cargo.toml build_local_attempt_identities -- --nocapture
  • cargo test --manifest-path apps/aether-gateway/Cargo.toml

- attempt.rs: 从 failover_rules/endpoint/provider 三级读取 max_retries 生成本地 attempt slots,支持配置 provider retry 后 429 自动重试,限制最大 99 并兼容 legacy 默认值 2
@Kayphoon
Copy link
Copy Markdown
Contributor Author

Superseded by clean feature-branch PR #337 to remove the accidental merge commit from the head branch.

@Kayphoon Kayphoon closed this Apr 25, 2026
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