[Partner Nodes] fix: respect Retry-After header#14234
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR adds support for honoring HTTP 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
35378d4 to
0e27d95
Compare
Signed-off-by: bigcat88 <bigcat88@icloud.com>
0e27d95 to
b9cf3dd
Compare
The API-node HTTP client retries
408/500/502/503/504responses with blind exponential backoff and ignores anyRetry-Afterheader the server sends.This change makes the retry loop honor
Retry-After: when one of those statuses carries the header, the client waits the server-requested delay (capped) before retrying, instead of its own backoff schedule.API Node PR Checklist
Scope
Pricing & Billing
If Need pricing update:
QA
Comms