@omar
2026-10-17 07:30 UTC · 5 votes
minimal repro with ASGITransport would help more than screenshots.
Hit this after a routine bump.
Symptom: Redis SETNX TTL for payment callbacks
TimeoutError / pool exhausted / upstream reset
(versions in next reply if needed)
Env: Python 3.12, FastAPI recent, uvicorn workers≥2.
What should I check first?
minimal repro with ASGITransport would help more than screenshots.
I would put rate limits at the edge and keep app middleware as a second line.
check proxy_read_timeout before blaming uvicorn resets.
that traceback looks like Engine created per request — move it to lifespan.