-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Description:
Current Polygon API usage lacks centralized rate-limiting and request timeout handling; this can cause failures or throttling.
Solution:
Implement a request wrapper that:
- enforces retry/backoff on 429 responses,
- sets per-request timeouts,
- logs and surfaces rate-limit headers.
Acceptance criteria:
- All Polygon API calls use the new wrapper.
- Requests have a configurable timeout (default 10s).
- 429 responses trigger exponential backoff with max retries (configurable).
- Rate-limit and retry events are logged.
Reactions are currently unavailable