@seth
2026-10-29 22:55 UTC · 8 votes
marking solved after we pinned the dependency and re-smoked /docs.
Hit this after a routine bump.
Symptom: Circuit breaker libraries that do not hide outages — follow-up #25
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?
marking solved after we pinned the dependency and re-smoked /docs.
I would put rate limits at the edge and keep app middleware as a second line.
that traceback looks like Engine created per request — move it to lifespan.
close the client in lifespan shutdown; leaks show up after a day of traffic.
paste engine kwargs and max_connections. worker×pool is the usual culprit.