Finish external HTTP client resilience: add shared aiohttp config, retry support, and update task status
This commit is contained in:
@@ -47,6 +47,7 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
|
||||
### 5. Improve external HTTP client resilience
|
||||
- Where found: `backend/app/startup.py`
|
||||
- Goal: create `aiohttp.ClientSession()` with sensible global timeouts, connection limit settings, and optional retry policy for geo/blocklist API calls.
|
||||
- Status: completed — configured shared aiohttp session with sensible timeouts, connection limits, and retry support for transient blocklist/geo failures.
|
||||
- Possible traps and issues:
|
||||
- Without timeouts, external lookups can hang request handling or background tasks.
|
||||
- Connection limits must be chosen carefully to avoid underutilization or overload.
|
||||
|
||||
Reference in New Issue
Block a user